summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh50
1 files changed, 36 insertions, 14 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 4333608..0c923b6 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -120,9 +120,19 @@ Set_defaults ()
fi
# Setting cache option
- if [ -z "${LH_CACHE}" ]
+ if [ -z "${LH_CACHE_INDICES}" ]
then
- LH_CACHE="enabled"
+ LH_CACHE_INDICES="disabled"
+ fi
+
+ if [ -z "${LH_CACHE_PACKAGES}" ]
+ then
+ LH_CACHE_PACKAGES="enabled"
+ fi
+
+ if [ -z "${LH_CACHE_STAGES}" ]
+ then
+ LH_CACHE_STAGES="bootstrap"
fi
# Setting debconf frontend
@@ -176,6 +186,12 @@ Set_defaults ()
LH_TASKSEL="aptitude"
fi
+ # Setting initramfs generator
+ if [ -z "${LH_INITRAMFS}" ]
+ then
+ LH_INITRAMFS="casper"
+ fi
+
# Setting root directory
if [ -z "${LIVE_ROOT}" ]
then
@@ -190,6 +206,18 @@ Set_defaults ()
esac
fi
+ # Setting includes
+ if [ -z "${LIVE_INCLUDES}" ]
+ then
+ LIVE_INCLUDES="/usr/share/live-helper/includes"
+ fi
+
+ # Setting templates
+ if [ -z "${LIVE_TEMPLATES}" ]
+ then
+ LIVE_TEMPLATES="/usr/share/live-helper/templates"
+ fi
+
# Setting live helper options
if [ -z "${LH_BREAKPOINTS}" ]
then
@@ -549,6 +577,12 @@ Set_defaults ()
LIVE_MEMTEST="memtest86+"
fi
+ # Setting debian-installer option
+ if [ -z "${LIVE_DEBIAN_INSTALLER}" ]
+ then
+ LIVE_DEBIAN_INSTALLER="disabled"
+ fi
+
# Setting iso volume
if [ -z "${LIVE_ISO_VOLUME}" ]
then
@@ -608,16 +642,4 @@ Set_defaults ()
# Setting syslinux splash
# LIVE_SYSLINUX_SPLASH
-
- # Setting includes
- if [ -z "${LIVE_INCLUDES}" ]
- then
- LIVE_INCLUDES="/usr/share/live-helper/includes"
- fi
-
- # Setting templates
- if [ -z "${LIVE_TEMPLATES}" ]
- then
- LIVE_TEMPLATES="/usr/share/live-helper/templates"
- fi
}