diff options
author | iximeow <me@iximeow.net> | 2015-09-28 03:34:17 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2015-09-28 03:36:28 -0700 |
commit | 7a3463683e9ceecb058b44f228f2d6a389fb9192 (patch) | |
tree | 2dcfbd027cab2defaac5346aeb1d756514d8a23f | |
parent | 74057dac1d460574f0b7edb89e9e4125a69c885a (diff) |
add kill command, tweak run to run in curses mode
-rwxr-xr-x | kill | 8 | ||||
-rwxr-xr-x | run | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -0,0 +1,8 @@ +#! /bin/sh +if [ -f emu.pid ]; then + kill $(cat emu.pid) + rm emu.pid + echo "RIP" +else + echo "nothing to RIP" +fi @@ -1,3 +1,3 @@ #! /bin/bash -qemu-system-x86_64 bootable.img +qemu-system-x86_64 -curses -s -pidfile emu.pid bootable.img |