Compare commits
2 commits
af796e7006
...
accfd4408d
Author | SHA1 | Date | |
---|---|---|---|
accfd4408d | |||
ac443d280a |
2 changed files with 4 additions and 4 deletions
|
@ -88,7 +88,7 @@ folder located at `~qemu/bin`. You can add them directly via `qemush` from
|
||||||
this repo via the following command :
|
this repo via the following command :
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
qemush run 'mkdir -p ~/bin && cp -v qemu/bin/* "$_"'
|
qemush do 'mkdir -p ~/bin && cp -v qemu/bin/* "$_"'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Extra: add `first-free-port` in `PATH`
|
### Extra: add `first-free-port` in `PATH`
|
||||||
|
|
|
@ -47,7 +47,7 @@ ${name}: usage:
|
||||||
${name} shell - start a shell as user qemu
|
${name} shell - start a shell as user qemu
|
||||||
${name} help - show this help
|
${name} help - show this help
|
||||||
${name} add <path to script> [<VM name>] - add a launching script
|
${name} add <path to script> [<VM name>] - add a launching script
|
||||||
${name} run <command> - run shell input as user qemu
|
${name} do <command> - run shell input as user qemu
|
||||||
${name} depcheck - check if script dependencies are met
|
${name} depcheck - check if script dependencies are met
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ public_add() {
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
}
|
}
|
||||||
|
|
||||||
public_run() {
|
public_do() {
|
||||||
exec sh -c "$*"
|
exec sh -c "$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ bold_print() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public_depcheck() {
|
public_depcheck() {
|
||||||
for i in diskpath screen diskpath source-highlight ls rm cp chmod cat; do
|
for i in diskpath screen source-highlight ls rm cp chmod cat; do
|
||||||
if command -v "$i" > /dev/null; then
|
if command -v "$i" > /dev/null; then
|
||||||
bold_print '1;32' OK "$i"
|
bold_print '1;32' OK "$i"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue