Moved some stuff around, added the first unit test, with no instructions on how to run it; updated readme for NOOP explanation.

This commit is contained in:
2012-08-06 19:27:55 -04:00
parent cea08e9d74
commit 22aa757238
9 changed files with 54 additions and 15 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
ps ax | grep -i ssh
echo 'I am going to kill some SSH processes now!'
killall -9 ssh
ps ax | grep -i ssh
if [ $? -eq 0 ]; then
echo "Well crap that didnt work"
/usr/bin/killall -9 ssh
ps ax | grep -i ssh
if [ $? -eq 0 ]; then
echo "SAD FACE I CANT KILL STUFF :("
else
echo "The jokes on you"
fi
fi