summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 643123c89..f157091f4 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1010,6 +1010,29 @@ Set_defaults ()
;;
esac
+ # Setting hdd options
+ case "${LB_MODE}" in
+ debian)
+ LB_HDD_LABEL="${LB_HDD_LABEL:-DEBIAN_LIVE}"
+ ;;
+
+ emdebian)
+ LB_HDD_LABEL="${LB_HDD_LABEL:-EMDEBIAN_LIVE}"
+ ;;
+
+ progress)
+ LB_HDD_LABEL="${LB_HDD_LABEL:-PROGRESS_$(echo ${LB_DISTRIBUTION} | tr [a-z][A-Z])}"
+ ;;
+
+ ubuntu)
+ LB_HDD_LABEL="${LB_HDD_LABEL:-UBUNTU}"
+ ;;
+
+ kubuntu)
+ LB_HDD_LABEL="${LB_HDD_LABEL:-KUBUNTU}"
+ ;;
+ esac
+
# Setting iso volume
case "${LB_MODE}" in
debian)