summaryrefslogtreecommitdiff
path: root/kill
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2015-09-28 03:34:17 -0700
committeriximeow <me@iximeow.net>2015-09-28 03:36:28 -0700
commit7a3463683e9ceecb058b44f228f2d6a389fb9192 (patch)
tree2dcfbd027cab2defaac5346aeb1d756514d8a23f /kill
parent74057dac1d460574f0b7edb89e9e4125a69c885a (diff)
add kill command, tweak run to run in curses mode
Diffstat (limited to 'kill')
-rwxr-xr-xkill8
1 files changed, 8 insertions, 0 deletions
diff --git a/kill b/kill
new file mode 100755
index 0000000..d90c1b4
--- /dev/null
+++ b/kill
@@ -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