summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hosts
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_hosts')
-rwxr-xr-xhelpers/lh_chroot_hosts6
1 files changed, 4 insertions, 2 deletions
diff --git a/helpers/lh_chroot_hosts b/helpers/lh_chroot_hosts
index 09ae098..9807433 100755
--- a/helpers/lh_chroot_hosts
+++ b/helpers/lh_chroot_hosts
@@ -32,13 +32,13 @@ Read_conffile config/binary
Read_conffile config/source
Set_defaults
-Echo_message "Configuring file /etc/hosts"
-
# Requiring stage file
Require_stagefile .stage/bootstrap
case "${1}" in
install)
+ Echo_message "Configuring file /etc/hosts"
+
# Checking stage file
Check_stagefile .stage/chroot_hosts
@@ -65,6 +65,8 @@ case "${1}" in
;;
remove)
+ Echo_message "Deconfiguring file /etc/hosts"
+
# Checking lock file
Check_lockfile .lock