diff options
author | Daniel Baumann <daniel@debian.org> | 2012-10-28 11:42:57 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-10-28 11:43:51 +0100 |
commit | 68b1966b94c4f0fcc82a6226d97ec49beae5fe71 (patch) | |
tree | dc48265399b9f863f1252de854dcd9f0504d2a94 /functions | |
parent | ef2b0289d49a905324ae3448352c8c741e37c59b (diff) | |
download | vyos-live-build-68b1966b94c4f0fcc82a6226d97ec49beae5fe71.tar.gz vyos-live-build-68b1966b94c4f0fcc82a6226d97ec49beae5fe71.zip |
Defaulting to systemd as initsystem for wheezy based progress-linux releases and newer.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index ec1aa336f..d2c84c4c3 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -214,6 +214,18 @@ Set_defaults () esac ;; + progress-linux) + case "${LB_DISTRIBUTION}" in + artax|artax-backports) + LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}" + ;; + + *) + LB_INITSYSTEM="${LB_INITSYSTEM:-systemd}" + ;; + esac + ;; + *) case "${LB_SYSTEM}" in live) |