Updating frontend calls in backends.
authorDaniel Baumann <mail@daniel-baumann.ch>
Mon, 24 Jun 2013 16:07:43 +0000 (18:07 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 24 Jun 2013 16:07:43 +0000 (18:07 +0200)
backend/systemd/live-config.systemd
backend/sysvinit/live-config.init

index a68e1f1..9e6bc8d 100644 (file)
@@ -11,13 +11,13 @@ Description=live-config contains the scripts that configure a live system during
 Documentation=man:live-config
 Before=basic.target
 DefaultDependencies=no
-ConditionPathExists=/lib/live/config.sh
+ConditionPathExists=/sbin/live-config
 ConditionKernelCommandLine=boot=live
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStart=/lib/live/config.sh
+ExecStart=/sbin/live-config
 
 [Install]
 WantedBy=basic.target
index 5b27c37..ef0396f 100755 (executable)
@@ -24,9 +24,9 @@
 
 case "${1}" in
        start)
-               if [ -e /lib/live/config.sh ]
+               if [ -e /sbin/live-config ]
                then
-                       /lib/live/config.sh ${@}
+                       /sbin/live-config ${@}
                fi
                ;;