aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2011-05-14 21:00:31 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2011-05-14 21:00:31 +0000
commitdc55fb5e4b99cd1150afe41f7ce50333a773bb6a (patch)
tree3d49341fb38468a5f6c85b54c08171ced1e96c90 /bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs
parentb4a678295e56da7be73a847cb460b477a54efc8a (diff)
Changes per thread starting at http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2011-May/064677.html
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9532 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs')
-rw-r--r--bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs7
1 files changed, 2 insertions, 5 deletions
diff --git a/bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs b/bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs
index e458f9c7f..994976934 100644
--- a/bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs
+++ b/bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs
@@ -30,11 +30,8 @@ case "${1}" in
mount -n /sys || failed=1
fi
- if ! mountpoint /run > /dev/null; then
- message="${message}${INFO} /run${NORMAL}"
- mount -n /run || failed=1
- mkdir /run/{var,lock,shm} || failed=1
- fi
+ # create needed directories in /run
+ mkdir /run/{var,lock,shm} || failed=1
(exit ${failed})
evaluate_retval standard