summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
;;
*)