summaryrefslogtreecommitdiffstats
path: root/liveinit
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-05-29 02:25:00 +0200
committer Eric Hameleers <alien@slackware.com>2016-05-29 02:25:00 +0200
commita94478fbabc8672171ab79ec21a9c36a360a65d8 (patch)
tree5dd6cf014b0466489e2c11f48a8df08563d829a2 /liveinit
parent84fc77331948fdb6600d21af63131a53b5eae719 (diff)
downloadliveslak-a94478fbabc8672171ab79ec21a9c36a360a65d8.tar.gz
liveslak-a94478fbabc8672171ab79ec21a9c36a360a65d8.tar.xz
Silence a (harmless) error during network boot.
We bind-mount /run if we started dhcpcd - so it can not be un-mounted at the end of the init.
Diffstat (limited to 'liveinit')
-rwxr-xr-xliveinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinit b/liveinit
index e9a4485..f14439f 100755
--- a/liveinit
+++ b/liveinit
@@ -1069,7 +1069,7 @@ fi
unset ERR
umount /proc
umount /sys
-umount /run
+umount /run 2>/dev/null
# We disable the filesystem checking code in /etc/rc.d/rc.S,
# so we need to keep the fs writable here.
#mount -o ro,remount /mnt/overlay 2>/dev/null