qemush : fonction shell
This commit is contained in:
parent
e15202b182
commit
e373995e1b
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue