blob: 156dd58959b944b1bba1aa06eb1f109ddb6495f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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
}
|