summaryrefslogtreecommitdiffstats
path: root/liveinit
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-05-17 20:45:56 +0200
committer Eric Hameleers <alien@slackware.com>2016-05-17 20:45:56 +0200
commitc3eddb334fc537e0a1dd0ddf27c43b421eaf832a (patch)
treee39f9033f1f239dcc01502a8dacaf78252815e4d /liveinit
parent0131eed89a86c11d9223c056f280bf8bd5760f7e (diff)
downloadliveslak-c3eddb334fc537e0a1dd0ddf27c43b421eaf832a.tar.gz
liveslak-c3eddb334fc537e0a1dd0ddf27c43b421eaf832a.tar.xz
Call 'depmod' when a loaded optional/addon contains kernel modules.
Diffstat (limited to '')
-rwxr-xr-xliveinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinit b/liveinit
index aee9f6f..ad44fa2 100755
--- a/liveinit
+++ b/liveinit
@@ -740,7 +740,7 @@ if [ "$RESCUE" = "" ]; then
# Make the underpinning RAM fs accessible in the live system (for fun):
mkdir -p /mnt/overlay/mnt/live
- mount --bind /mnt/live /mnt/overlay/mnt/live
+ mount --rbind /mnt/live /mnt/overlay/mnt/live
mkdir -p /mnt/overlay/mnt/${LIVEMAIN}fs
mount --bind /mnt/${LIVEMAIN}fs /mnt/overlay/mnt/${LIVEMAIN}fs