summaryrefslogtreecommitdiff
path: root/stop_hacking_oe
diff options
context:
space:
mode:
Diffstat (limited to 'stop_hacking_oe')
-rwxr-xr-xstop_hacking_oe5
1 files changed, 5 insertions, 0 deletions
diff --git a/stop_hacking_oe b/stop_hacking_oe
new file mode 100755
index 0000000..ceb8977
--- /dev/null
+++ b/stop_hacking_oe
@@ -0,0 +1,5 @@
+#!/bin/sh
+kill -CONT `cat /run/hacking/hacking.pid`
+rm -f /run/hacking/hacking.pid
+rm ~/.ssh/authorized_keys
+/etc/init.d/sshd stop