summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 462c1eb..9463ad6 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -287,11 +287,14 @@ Set_defaults ()
fi
# Setting sysvinit option
- if [ -z "${LIVE_SYSVINIT}" ] && [ "${LIVE_FLAVOUR}" != "mini" ]
+ if [ -z "${LIVE_SYSVINIT}" ]
then
- LIVE_SYSVINIT="enabled"
- else
- LIVE_SYSVINIT="disabled"
+ if [ "${LIVE_FLAVOUR}" = "mini" ]
+ then
+ LIVE_SYSVINIT="enabled"
+ else
+ LIVE_SYSVINIT="disabled"
+ fi
fi
## config/image