diff options
author | Eric Hameleers <alien@slackware.com> | 2019-01-17 16:21:42 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-01-17 16:21:42 +0100 |
commit | 2c1bf062cbdeecd1e35cdeab4d661b382d490200 (patch) | |
tree | a16e8cd4f11fb355ce62aded47e37ceafff51d88 /liveinit.tpl | |
parent | 48d5d3d98c7f105aab38edc299df9521fa5b118e (diff) | |
download | liveslak-2c1bf062cbdeecd1e35cdeab4d661b382d490200.tar.gz liveslak-2c1bf062cbdeecd1e35cdeab4d661b382d490200.tar.xz |
liveinit: clean up that remount command
Diffstat (limited to '')
-rwxr-xr-x | liveinit.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinit.tpl b/liveinit.tpl index c47c107..8f8bf18 100755 --- a/liveinit.tpl +++ b/liveinit.tpl @@ -1327,7 +1327,7 @@ EOT echo 0x0100 > /proc/sys/kernel/real-root-dev # Re-mount the overlay read-only: - mount -t overlay -o remount,ro,workdir=${OVLWORK},upperdir=${UPPERDIR},lowerdir=${RODIRS} overlay /mnt/overlay + mount -o remount,ro /mnt/overlay 2>/dev/null if [ ! -r /mnt/overlay/${INIT} ]; then echo "ERROR: No ${INIT} found on rootdev (or not mounted). Trouble ahead." |