2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: BSD-like init-scripts
|
|
|
|
|
# URL: http://crux.nu
|
2006-04-20 20:37:09 +00:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=rc
|
|
|
|
|
version=2.17
|
2006-02-23 18:11:09 +00:00
|
|
|
|
release=2
|
2006-02-23 15:26:10 +00:00
|
|
|
|
source=(inittab rc rc.modules rc.single rc.multi rc.local 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.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
|
|
|
|
|
}
|