6 lines
203 B
Bash
Executable File
6 lines
203 B
Bash
Executable File
pgrep -fq '/usr/sbin/vmd'
|
|
if [ $? = 0 ]; then
|
|
set -A complete_vmctl -- console load reload start stop reset status send receive
|
|
set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')
|
|
fi
|