summaryrefslogtreecommitdiff
path: root/helpers/lh_clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:18 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit28dac4f4381e67febcf7612059340d51c667fa52 (patch)
tree3e333d0f2f1fbf89a394dfb1c536e0aa3ac231c6 /helpers/lh_clean
parent0d0de885e32ff67d57bb7def451b62d75b8920ab (diff)
downloadvyos-live-build-28dac4f4381e67febcf7612059340d51c667fa52.tar.gz
vyos-live-build-28dac4f4381e67febcf7612059340d51c667fa52.zip
Adding live-helper 1.0~a23-1.
Diffstat (limited to 'helpers/lh_clean')
-rwxr-xr-xhelpers/lh_clean2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index c4174154c..4c52ed24d 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -30,6 +30,7 @@ Read_conffile config/bootstrap
Read_conffile config/chroot
Read_conffile config/binary
Read_conffile config/source
+Read_conffile "${LH_CONFIG}"
Set_defaults
rm -f .lock
@@ -53,6 +54,7 @@ case "${1}" in
;;
chroot)
+ Echo_message "Cleaning chroot"
${LH_ROOT_COMMAND} umount -f chroot/sys > /dev/null 2>&1 || true
${LH_ROOT_COMMAND} umount -f chroot/proc/sys/fs/binfmt_misc > /dev/null 2>&1 || true
${LH_ROOT_COMMAND} umount -f chroot/proc > /dev/null 2>&1 || true