]> 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>
Mon, 21 Jul 2014 11:10:38 +0000 (13:10 +0200)
Signed-off-by: Stefano Ansaloni <ansalonistefano@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
config/init/sysvinit/lxc.in

index 1a876a28d4d330e7c4227c3941f748127e90db98..a8503410ec58956c34f7dcdcb5b43120382f019b 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 $?