summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_devpts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-13 12:49:43 +0100
committerDaniel Baumann <daniel@debian.org>2007-11-13 12:49:43 +0100
commit17e172bbdf12b760c87ffed882f01965ec647d14 (patch)
tree2b6e0004323105f425a56b054714dcb57949998e /helpers/lh_chroot_devpts
parent8f8a9ec521174445fe05ca0b610cae22142f1d40 (diff)
downloadvyos-live-build-17e172bbdf12b760c87ffed882f01965ec647d14.tar.gz
vyos-live-build-17e172bbdf12b760c87ffed882f01965ec647d14.zip
Outputting an own message when having more than one case in a helper, instead of a global one.
Diffstat (limited to 'helpers/lh_chroot_devpts')
-rwxr-xr-xhelpers/lh_chroot_devpts6
1 files changed, 4 insertions, 2 deletions
diff --git a/helpers/lh_chroot_devpts b/helpers/lh_chroot_devpts
index 07fec4df6..7bb5e4517 100755
--- a/helpers/lh_chroot_devpts
+++ b/helpers/lh_chroot_devpts
@@ -36,13 +36,13 @@ Read_conffile config/source
Read_conffile "${LH_CONFIG}"
Set_defaults
-Echo_message "Begin mounting /dev/pts..."
-
# Requiring stage file
Require_stagefile .stage/bootstrap
case "${1}" in
install)
+ Echo_message "Begin mounting /dev/pts..."
+
# Checking stage file
Check_stagefile .stage/chroot_devpts
@@ -66,6 +66,8 @@ case "${1}" in
;;
remove)
+ Echo_message "Begin unmounting /dev/pts..."
+
# Checking lock file
Check_lockfile .lock