summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 20:29:58 +0100
committerLukc <lukc@upyum.com>2010-12-11 20:29:58 +0100
commita839f40ceafb5f799a4ddfd89e608a48fc3cfc14 (patch)
tree0419696daa54be975dd706f86b2b4b467be73aed
parentb1f54c169a5cbceeec335c7b11f4c160c84ae627 (diff)
downloadbase-a839f40ceafb5f799a4ddfd89e608a48fc3cfc14.tar.gz
base-a839f40ceafb5f799a4ddfd89e608a48fc3cfc14.tar.bz2
base-a839f40ceafb5f799a4ddfd89e608a48fc3cfc14.tar.xz
base-a839f40ceafb5f799a4ddfd89e608a48fc3cfc14.zip
Recette de rc mise ? jour. o/
-rw-r--r--rc/.footprint4
-rw-r--r--rc/.sha256sum9
-rw-r--r--rc/Pkgfile35
3 files changed, 30 insertions, 18 deletions
diff --git a/rc/.footprint b/rc/.footprint
index 0c617d1..66973e4 100644
--- a/rc/.footprint
+++ b/rc/.footprint
@@ -12,6 +12,6 @@ drwxr-xr-x root/root etc/rc.d/
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/
drwxr-xr-x root/root var/lib/urandom/
--rw-r----- root/root var/lib/urandom/seed (EMPTY)
+-rw-r----- root/root var/lib/urandom/seed
drwxr-xr-x root/root var/log/
--rw-r----- root/root var/log/boot (EMPTY)
+-rw-r----- root/root var/log/boot
diff --git a/rc/.sha256sum b/rc/.sha256sum
new file mode 100644
index 0000000..f099160
--- /dev/null
+++ b/rc/.sha256sum
@@ -0,0 +1,9 @@
+beb7d6f9c1faee1953de2e39f6896e7f42799075897cad94526aae22fdaa3623 inittab
+68a1df22ccf77b56419c58233593a7b1b0ba7ce8240af41794b6d27804337b18 rc
+c00884975c8ff58f08feffe3a861c3f8056a0b9459cba975d0d414a6f9302544 rc.conf
+f8d4fa1c0bf882d084288c70e534b3fdb0334b44039be1c144073fc9c48b3cb0 rc.fix
+e39147ee4d402b2fea96639185d6055b361b1a44090653acf5790b51db6acdd1 rc.local
+74d94558fe68f2a4b7b0f3dc2215c291300bc416d27e6d79d95f303cfc918788 rc.modules
+2cd2c4dbf2ac86243f775a0020efac08f631b658800c00f8a1c0a3d31855f29a rc.multi
+4086c14762d4b6789fdb53c279237b651ae45f338d8aaafa638aba5a2c2092cb rc.shutdown
+6dec2b39e70576d63e0e0615f68194ad4e0bb7febd65342528976f92120e25cc rc.single
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 <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
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
}