FreeBSD rc scripts: fix albatross_x stop, status
This commit is contained in:
parent
fb149952de
commit
2e433be569
|
@ -52,7 +52,7 @@ albatross_x_start () {
|
||||||
|
|
||||||
albatross_x_stop () {
|
albatross_x_stop () {
|
||||||
case $1 in
|
case $1 in
|
||||||
ALL)
|
_ALL)
|
||||||
for _vm in $albatross_x_vms
|
for _vm in $albatross_x_vms
|
||||||
do /usr/local/sbin/vmmc_local destroy $_vm; done
|
do /usr/local/sbin/vmmc_local destroy $_vm; done
|
||||||
return
|
return
|
||||||
|
@ -62,8 +62,7 @@ albatross_x_stop () {
|
||||||
}
|
}
|
||||||
|
|
||||||
albatross_x_status () {
|
albatross_x_status () {
|
||||||
for _vm in $@
|
/usr/local/sbin/vmmc_local info
|
||||||
do /usr/local/sbin/vmmc_local info $_vm; done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case $# in
|
case $# in
|
||||||
|
|
Loading…
Reference in a new issue