Rename internal LH_BOOTAPPEND_PRESEED variable to _LH_BOOTAPPEND_PRESEED
This commit is contained in:
parent
00940ee4b7
commit
cf35e04305
|
@ -557,30 +557,30 @@ Set_defaults ()
|
||||||
then
|
then
|
||||||
case "${LH_BINARY_IMAGES}" in
|
case "${LH_BINARY_IMAGES}" in
|
||||||
iso)
|
iso)
|
||||||
LH_BOOTAPPEND_PRESEED="file=/cdrom/install/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
|
_LH_BOOTAPPEND_PRESEED="file=/cdrom/install/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
usb-hdd)
|
usb-hdd)
|
||||||
LH_BOOTAPPEND_PRESEED="file=/hd-media/install/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
|
_LH_BOOTAPPEND_PRESEED="file=/hd-media/install/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
net)
|
net)
|
||||||
case "${LH_DEBIAN_INSTALLER_PRESEEDFILE}" in
|
case "${LH_DEBIAN_INSTALLER_PRESEEDFILE}" in
|
||||||
*://*)
|
*://*)
|
||||||
LH_BOOTAPPEND_PRESEED="file=${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
|
_LH_BOOTAPPEND_PRESEED="file=${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
LH_BOOTAPPEND_PRESEED="file=/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
|
_LH_BOOTAPPEND_PRESEED="file=/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${LH_BOOTAPPEND_INSTALL}" ] && [ -n ${LH_BOOTAPPEND_PRESEED} ]
|
if [ -z "${LH_BOOTAPPEND_INSTALL}" ] && [ -n ${_LH_BOOTAPPEND_PRESEED} ]
|
||||||
then
|
then
|
||||||
LH_BOOTAPPEND_INSTALL="${LH_BOOTAPPEND_PRESEED} -- \${LH_BOOTAPPEND_LIVE}"
|
LH_BOOTAPPEND_INSTALL="${_LH_BOOTAPPEND_PRESEED} -- \${LH_BOOTAPPEND_LIVE}"
|
||||||
else
|
else
|
||||||
LH_BOOTAPPEND_INSTALL="-- \${LH_BOOTAPPEND_LIVE}"
|
LH_BOOTAPPEND_INSTALL="-- \${LH_BOOTAPPEND_LIVE}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue