From: Ansa89 Date: Thu, 17 Jul 2014 08:53:30 +0000 (+0200) Subject: Sysvinit script fixes X-Git-Tag: lxc-1.1.0.alpha2~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31098f8b9d68a47c8c3fc18e08960caaa980fb80;p=thirdparty%2Flxc.git Sysvinit script fixes Signed-off-by: Stefano Ansaloni Acked-by: Stéphane Graber --- diff --git a/config/init/sysvinit/lxc.in b/config/init/sysvinit/lxc.in index 1a876a28d..a8503410e 100644 --- a/config/init/sysvinit/lxc.in +++ b/config/init/sysvinit/lxc.in @@ -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 $?