mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-03 15:56:45 +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
|
||||
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 $?
|
||||
|
Loading…
Reference in New Issue
Block a user