summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sysfs
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_sysfs')
-rwxr-xr-xhelpers/lh_chroot_sysfs6
1 files changed, 4 insertions, 2 deletions
diff --git a/helpers/lh_chroot_sysfs b/helpers/lh_chroot_sysfs
index b7931ae..04e67de 100755
--- a/helpers/lh_chroot_sysfs
+++ b/helpers/lh_chroot_sysfs
@@ -36,13 +36,13 @@ Read_conffile config/source
Read_conffile "${LH_CONFIG}"
Set_defaults
-Echo_message "Begin mounting /sys..."
-
# Requiring stage file
Require_stagefile .stage/bootstrap
case "${1}" in
install)
+ Echo_message "Begin mounting /sys..."
+
# Checking stage file
Check_stagefile .stage/chroot_sysfs
@@ -69,6 +69,8 @@ case "${1}" in
;;
remove)
+ Echo_message "Begin unmounting /sys..."
+
# Checking lock file
Check_lockfile .lock