diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2011-04-25 03:07:03 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2011-04-25 03:07:03 +0000 |
commit | 84ce1e3fcac2178afba5f4db816e4d396aab2808 (patch) | |
tree | 1c2bca9257d44a9777d4f1e82ad1957817b907f0 /bootscripts/contrib/lsb-v3/init.d | |
parent | 29450ec185b58ffeebdf0fd1147ad8b68f7d96b5 (diff) |
Synced lsb-v3 scripts with main bootscripts, changed format of changelog.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9513 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/init.d')
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/mountfs | 1 | ||||
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/mountvirtfs | 1 | ||||
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/udev | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/bootscripts/contrib/lsb-v3/init.d/mountfs b/bootscripts/contrib/lsb-v3/init.d/mountfs index 5a375ec51..562db546a 100644 --- a/bootscripts/contrib/lsb-v3/init.d/mountfs +++ b/bootscripts/contrib/lsb-v3/init.d/mountfs @@ -41,7 +41,6 @@ case "${1}" in # their option list. _netdev denotes a network filesystem. message="Mounting remaining file systems..." mount -a -O no_netdev >/dev/null - ln -s /run/shm /dev/shm evaluate_retval standard ;; diff --git a/bootscripts/contrib/lsb-v3/init.d/mountvirtfs b/bootscripts/contrib/lsb-v3/init.d/mountvirtfs index 6706da0a3..e458f9c7f 100644 --- a/bootscripts/contrib/lsb-v3/init.d/mountvirtfs +++ b/bootscripts/contrib/lsb-v3/init.d/mountvirtfs @@ -33,6 +33,7 @@ case "${1}" in if ! mountpoint /run > /dev/null; then message="${message}${INFO} /run${NORMAL}" mount -n /run || failed=1 + mkdir /run/{var,lock,shm} || failed=1 fi (exit ${failed}) diff --git a/bootscripts/contrib/lsb-v3/init.d/udev b/bootscripts/contrib/lsb-v3/init.d/udev index ec8a72cd7..0325b3505 100644 --- a/bootscripts/contrib/lsb-v3/init.d/udev +++ b/bootscripts/contrib/lsb-v3/init.d/udev @@ -52,6 +52,9 @@ case "${1}" in /etc/rc.d/init.d/halt stop fi + # Create a symlink for POSIX shared memory + ln -s /run/shm /dev/shm + # Udev handles uevents itself, so we don't need to have # the kernel call out to any binary in response to them echo > /proc/sys/kernel/hotplug |