summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/boot.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/boot.sh b/scripts/boot.sh
index 02ac43a..94f5e18 100755
--- a/scripts/boot.sh
+++ b/scripts/boot.sh
@@ -630,6 +630,11 @@ mountroot ()
log_end_msg
fi
+ if ! [ -d "/root/usr/share/live-boot" ]
+ then
+ panic "A wrong rootfs was mounted."
+ fi
+
maybe_break live-bottom
log_begin_msg "Running /scripts/live-bottom\n"