Sysvinit script fixes

Signed-off-by: Stefano Ansaloni <ansalonistefano@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Ansa89 2014-07-17 10:53:30 +02:00 committed by Stéphane Graber
parent 5c7f03ae85
commit 31098f8b9d

View File

@ -98,7 +98,7 @@ case "$1" in
# Start containers # Start containers
wait_for_bridge wait_for_bridge
# Start autoboot containers first then the NULL group "onboot,". # 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 touch "$localstatedir"/lock/subsys/lxc
;; ;;
stop) stop)
@ -118,7 +118,7 @@ case "$1" in
$0 start $0 start
;; ;;
*) *)
echo $"Usage: $0 {start|stop|restart|reload|force-reload}" echo "Usage: $0 {start|stop|restart|reload|force-reload}"
exit 2 exit 2
esac esac
exit $? exit $?