Commit 8a6669e0 by Ansa89 Committed by Stéphane Graber

Sysvinit script fixes

parent 3ca2ba52
...@@ -98,7 +98,7 @@ case "$1" in ...@@ -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 ...@@ -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 $?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment