diff options
-rwxr-xr-x | build | 4 | ||||
-rw-r--r-- | initscripts.pkg/install | 1 | ||||
-rw-r--r-- | src/etc/init.d/mountall | 10 |
3 files changed, 14 insertions, 1 deletions
@@ -34,8 +34,10 @@ basefiles.buildstamp: mkdir -pv var/cache var/lib/misc var/local var/lock var/log var/mail \ var/opt var/run var/spool cd dest && \ + mkdir etc/rc.d && \ ln -s rc etc/init.d/rcS && \ - ln -s rc etc/init.d/rcK + ln -s rc etc/init.d/rcK && \ + ln -s ../init.d/mountall etc/rc.d/S01mountall oh-installfiles $(PKGS) oh-installdocs basefiles oh-gencontrol $(PKGS) diff --git a/initscripts.pkg/install b/initscripts.pkg/install index 63b0e87..13a6451 100644 --- a/initscripts.pkg/install +++ b/initscripts.pkg/install @@ -1,3 +1,4 @@ /etc/inittab /etc/init.d/ +/etc/rc.d/ /etc/fstab diff --git a/src/etc/init.d/mountall b/src/etc/init.d/mountall new file mode 100644 index 0000000..5675752 --- /dev/null +++ b/src/etc/init.d/mountall @@ -0,0 +1,10 @@ +#!/bin/sh + +case "${1}" in + start) + mount -a + ;; + stop) + umount -a -r + ;; +esac |