summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 257e6dc0d..b41923266 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -288,7 +288,15 @@ Set_defaults ()
*)
case "${LB_SYSTEM}" in
live)
- LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}"
+ case "${LB_PARENT_DISTRIBUTION}" in
+ wheezy)
+ LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}"
+ ;;
+
+ *)
+ LB_INITSYSTEM="${LB_INITSYSTEM:-systemd}"
+ ;;
+ esac
;;
normal)