]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Sysvinit script fixes
authorAnsa89 <ansalonistefano@gmail.com>
Thu, 17 Jul 2014 08:53:30 +0000 (10:53 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 31 Jul 2014 17:31:48 +0000 (13:31 -0400)
Signed-off-by: Stefano Ansaloni <ansalonistefano@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
config/init/sysvinit/lxc.in

index 4bfd0f019fbbfeb16418956161ccf63dc7204f87..19c102e74c86a4afee2447e28e5a7539f22fef48 100644 (file)
@@ -98,7 +98,7 @@ case "$1" in
        # Start containers
        wait_for_bridge
        # Start autoboot containers first then the NULL group "onboot,".
-       action $"Starting LXC autoboot containers: " /usr/bin/lxc-autostart $OPTIONS $BOOTGROUPS
+       action $"Starting LXC autoboot containers: " "$bindir"/lxc-autostart $OPTIONS $BOOTGROUPS
        touch "$localstatedir"/lock/subsys/lxc
        ;;
   stop)
@@ -118,7 +118,7 @@ case "$1" in
        $0 start
        ;;
   *)
-       echo $"Usage: $0 {start|stop|restart|reload|force-reload}"
+       echo "Usage: $0 {start|stop|restart|reload|force-reload}"
        exit 2
 esac
 exit $?