From a839f40ceafb5f799a4ddfd89e608a48fc3cfc14 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 20:29:58 +0100 Subject: Recette de rc mise ? jour. o/ --- rc/Pkgfile | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'rc/Pkgfile') diff --git a/rc/Pkgfile b/rc/Pkgfile index fdbb2d6..156dd58 100644 --- a/rc/Pkgfile +++ b/rc/Pkgfile @@ -1,26 +1,29 @@ -description="BSD-like init-scripts" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="BSD-like init-scripts." +packager="CRUX System Team " +maintainer="Lukc " url="http://crux.nu" depends=() +# FIXME: These are vanilla Crux rc files... we should adapt them a little, +#+ and make some sort of rc-run to have complete bootscripts. + name=rc version=2.26 release=1 source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf) build () { - mkdir -p $PKG/etc/rc.d; - install -m 644 inittab $PKG/etc; - install -m 755 rc $PKG/etc; - install -m 755 rc.modules $PKG/etc; - install -m 755 rc.single $PKG/etc; - install -m 755 rc.multi $PKG/etc; - install -m 755 rc.local $PKG/etc; - install -m 755 rc.fix $PKG/etc; - install -m 755 rc.shutdown $PKG/etc; - install -m 644 rc.conf $PKG/etc; - mkdir -p $PKG/var/log $PKG/var/lib/urandom; - touch $PKG/var/log/boot $PKG/var/lib/urandom/seed; - chmod 640 $PKG/var/log/boot $PKG/var/lib/urandom/seed + mkdir -p $PKG/etc/rc.d; + install -m 644 inittab $PKG/etc; + install -m 755 rc $PKG/etc; + install -m 755 rc.modules $PKG/etc; + install -m 755 rc.single $PKG/etc; + install -m 755 rc.multi $PKG/etc; + install -m 755 rc.local $PKG/etc; + install -m 755 rc.fix $PKG/etc; + install -m 755 rc.shutdown $PKG/etc; + install -m 644 rc.conf $PKG/etc; + mkdir -p $PKG/var/log $PKG/var/lib/urandom; + touch $PKG/var/log/boot $PKG/var/lib/urandom/seed; + chmod 640 $PKG/var/log/boot $PKG/var/lib/urandom/seed } -- cgit v1.2.3-70-g09d2