diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-09-06 20:05:07 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-09-06 20:05:07 +0200 |
commit | dcf1ff484a39f079e01e353aca55b9f72a37fddf (patch) | |
tree | 88e2104f6fb25ac115aeff345511e2503071013e /functions | |
parent | 0293f5d14c76d54ba1c09f26db6345332da1393a (diff) | |
download | vyos-live-build-dcf1ff484a39f079e01e353aca55b9f72a37fddf.tar.gz vyos-live-build-dcf1ff484a39f079e01e353aca55b9f72a37fddf.zip |
Updating initsystem default for progress-linux releases.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 3f8825202..0318e7bf1 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -274,7 +274,15 @@ Set_defaults () ;; progress-linux) - LB_INITSYSTEM="${LB_INITSYSTEM:-systemd}" + case "${LB_DISTRIBUTION}" in + chairon*) + LB_INITSYSTEM="${LB_INITSYSTEM:-systemd}" + ;; + + *) + LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}" + ;; + esac ;; *) |