diff options
| author | Marc Vertes <mvertes@free.fr> | 2022-05-19 08:30:49 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2022-05-19 08:30:49 +0200 |
| commit | ad9fe550d8bcea98106284e2e7231e69374ff386 (patch) | |
| tree | 1582329c7eb47cb38d2b2374251c43a15dd4fd12 /bin | |
| parent | 7402b7a4ba6106e5622e52d080d498db31c55614 (diff) | |
update
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/vm | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -88,7 +88,9 @@ getconf() { awk -F '=' -v k="$2" '$1 == k {print $2}' "$dir/$1/config"; } help() { usage 'help' 'Print this help text' && return - printf '%s\n' "$vm_version\nManage virtual machines\nUsage: vm command [options] [args]" + echo "$vm_version - Manage virtual machines" + echo "Usage: vm command [options] [args]" + echo "Commands:" Opth=1; for c in $Cmdlist; do $c; done } @@ -201,6 +203,7 @@ start_vm() ( -a "${arg-console=hvc0}" \ >>vftool.log 2>&1 & sleep 1 + [ -f screenlog.0 ] && mv screenlog.0 screenlog.0.old echo "$!" >vftool.pid screen -L -S "${PWD##*/}" -d -m "$(vftool_tty)" wait |
