Fix self sleep

This commit is contained in:
2024-03-23 09:59:04 +01:00
parent 4f453ba341
commit d039745d5f
6 changed files with 60 additions and 21 deletions

10
run.sh
View File

@@ -34,6 +34,16 @@ while [[ $# -gt 0 ]]; do
QEMU_OPTS="$QEMU_OPTS -serial stdio"
shift
;;
-mon)
if [ $TERM_USED ]; then
echo "Conflicting options!"; # (todo: there must be a way to use both...)
exit 1
fi
TERM_USED=true
# serial
QEMU_OPTS="$QEMU_OPTS -monitor stdio"
shift
;;
-int)
if [ $TERM_USED ]; then
echo "Conflicting options!"; # (todo: there must be a way to use both...)