Updating initsystem default for progress-linux releases.
authorDaniel Baumann <mail@daniel-baumann.ch>
Fri, 6 Sep 2013 18:05:07 +0000 (20:05 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Fri, 6 Sep 2013 18:05:07 +0000 (20:05 +0200)
functions/defaults.sh

index 3f88252..0318e7b 100755 (executable)
@@ -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
                        ;;
 
                *)