summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:46 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:27 +0100
commit49524055a1fd813b8032af88ddda838a856128dd (patch)
tree5ab003498be8ad81fc1b7e4ba116be9c9ca5298b /functions
parentfe6eb1c593e2df135c8807bf94df614984b4d6ec (diff)
downloadvyos-live-build-49524055a1fd813b8032af88ddda838a856128dd.tar.gz
vyos-live-build-49524055a1fd813b8032af88ddda838a856128dd.zip
Adding live-helper 1.0~a1-2.
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 462c1ebc4..9463ad66a 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