From e373995e1bfdaedf8bc95adf52f84c57546dd459 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Tue, 28 Nov 2023 11:10:08 +0100 Subject: [PATCH] qemush : fonction shell --- bin/qemush | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/qemush b/bin/qemush index d059cbd..b725574 100755 --- a/bin/qemush +++ b/bin/qemush @@ -32,6 +32,7 @@ ${name}: usage: ${name} diskls - list available disk images ${name} diskadd - create a disk image ${name} diskrm - delete disk image + ${name} shell - start a shell as user qemu ${name} help - show this help EOF } @@ -87,6 +88,10 @@ public_rm() { unlink "bin/${1}" } +public_shell() { + bash -i +} + function="$1" shift