| 1 | # Description: BSD-like init-scripts |
| 2 | # URL: http://crux.nu |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | |
| 5 | name=rc |
| 6 | version=2.29 |
| 7 | release=2 |
| 8 | source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf) |
| 9 | |
| 10 | build() { |
| 11 | install -d $PKG/etc/rc.d |
| 12 | install -m 644 inittab $PKG/etc |
| 13 | install -m 755 rc $PKG/etc |
| 14 | install -m 755 rc.modules $PKG/etc |
| 15 | install -m 755 rc.single $PKG/etc |
| 16 | install -m 755 rc.multi $PKG/etc |
| 17 | install -m 755 rc.local $PKG/etc |
| 18 | install -m 755 rc.fix $PKG/etc |
| 19 | install -m 755 rc.shutdown $PKG/etc |
| 20 | install -m 644 rc.conf $PKG/etc |
| 21 | install -d $PKG/var/log $PKG/var/lib/urandom |
| 22 | touch $PKG/var/log/boot $PKG/var/lib/urandom/seed |
| 23 | chmod 640 $PKG/var/log/boot $PKG/var/lib/urandom/seed |
| 24 | } |