qemush : fonction shell

This commit is contained in:
Hippolyte Chauvin 2023-11-28 11:10:08 +01:00
parent e15202b182
commit e373995e1b

View file

@ -32,6 +32,7 @@ ${name}: usage:
${name} diskls - list available disk images ${name} diskls - list available disk images
${name} diskadd <disk name> <size> - create a disk image ${name} diskadd <disk name> <size> - create a disk image
${name} diskrm <disk name> - delete disk image ${name} diskrm <disk name> - delete disk image
${name} shell - start a shell as user qemu
${name} help - show this help ${name} help - show this help
EOF EOF
} }
@ -87,6 +88,10 @@ public_rm() {
unlink "bin/${1}" unlink "bin/${1}"
} }
public_shell() {
bash -i
}
function="$1" function="$1"
shift shift