mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 06:11:42 +00:00
Sysvinit script fixes
Signed-off-by: Stefano Ansaloni <ansalonistefano@gmail.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
5c7f03ae85
commit
31098f8b9d
@ -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 $?
|
||||||
|
Loading…
Reference in New Issue
Block a user