From 0d0de885e32ff67d57bb7def451b62d75b8920ab Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:05:17 +0200 Subject: Adding live-helper 1.0~a22-1. --- helpers/lh_binary_net | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'helpers/lh_binary_net') diff --git a/helpers/lh_binary_net b/helpers/lh_binary_net index 03476630f..40286d4af 100755 --- a/helpers/lh_binary_net +++ b/helpers/lh_binary_net @@ -32,7 +32,7 @@ Read_conffile config/binary Read_conffile config/source Set_defaults -if ! echo "${LIVE_BINARY_IMAGES}" | grep -qs net +if ! echo "${LH_BINARY_IMAGES}" | grep -qs net then exit 0 fi @@ -58,21 +58,21 @@ then fi # Creating image file -if [ "`basename ${LIVE_NET_PATH}`" = "chroot" ] +if [ "`basename ${LH_NET_PATH}`" = "chroot" ] then mv chroot chroot.tmp fi -mv binary "`basename ${LIVE_NET_PATH}`" +mv binary "`basename ${LH_NET_PATH}`" cd .. -tar cfz binary-net.tar.gz "`basename ${OLDPWD}`/`basename ${LIVE_NET_PATH}`" "`basename ${OLDPWD}`/tftpboot" +tar cfz binary-net.tar.gz "`basename ${OLDPWD}`/`basename ${LH_NET_PATH}`" "`basename ${OLDPWD}`/tftpboot" mv binary-net.tar.gz "${OLDPWD}" cd "${OLDPWD}" -mv "`basename ${LIVE_NET_PATH}`" binary +mv "`basename ${LH_NET_PATH}`" binary -if [ "`basename ${LIVE_NET_PATH}`" = "chroot" ] +if [ "`basename ${LH_NET_PATH}`" = "chroot" ] then mv chroot.tmp chroot fi -- cgit v1.2.3