2006-02-23 15:26:10 +00:00
|
|
|
# Description: BSD-like init-scripts
|
|
|
|
# URL: http://crux.nu
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=rc
|
2017-10-24 12:56:30 +02:00
|
|
|
version=2.31
|
2019-06-09 11:51:47 -05:00
|
|
|
release=3
|
2007-03-14 19:21:15 +00:00
|
|
|
source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2015-07-26 18:58:56 +02:00
|
|
|
install -d $PKG/etc/rc.d
|
2006-02-23 15:26:10 +00:00
|
|
|
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
|
2007-03-14 19:21:15 +00:00
|
|
|
install -m 755 rc.fix $PKG/etc
|
2006-02-23 15:26:10 +00:00
|
|
|
install -m 755 rc.shutdown $PKG/etc
|
|
|
|
install -m 644 rc.conf $PKG/etc
|
2015-07-26 18:58:13 +02:00
|
|
|
install -d $PKG/var/log $PKG/var/lib/urandom
|
2006-02-23 15:26:10 +00:00
|
|
|
touch $PKG/var/log/boot $PKG/var/lib/urandom/seed
|
|
|
|
chmod 640 $PKG/var/log/boot $PKG/var/lib/urandom/seed
|
|
|
|
}
|