summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-09-06 20:05:07 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-09-06 20:05:07 +0200
commitdcf1ff484a39f079e01e353aca55b9f72a37fddf (patch)
tree88e2104f6fb25ac115aeff345511e2503071013e /functions
parent0293f5d14c76d54ba1c09f26db6345332da1393a (diff)
downloadvyos-live-build-dcf1ff484a39f079e01e353aca55b9f72a37fddf.tar.gz
vyos-live-build-dcf1ff484a39f079e01e353aca55b9f72a37fddf.zip
Updating initsystem default for progress-linux releases.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
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
;;
*)