diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:46 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:27 +0100 |
commit | 49524055a1fd813b8032af88ddda838a856128dd (patch) | |
tree | 5ab003498be8ad81fc1b7e4ba116be9c9ca5298b /functions | |
parent | fe6eb1c593e2df135c8807bf94df614984b4d6ec (diff) | |
download | vyos-live-build-49524055a1fd813b8032af88ddda838a856128dd.tar.gz vyos-live-build-49524055a1fd813b8032af88ddda838a856128dd.zip |
Adding live-helper 1.0~a1-2.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 11 |
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 |