diff options
Diffstat (limited to 'bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs')
-rw-r--r-- | bootscripts/contrib/lsb-v3/etc/init.d/mountvirtfs | 7 |
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 |