From 4486784f8003e3b73bb228443a359a32dc8f0e43 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 13 Jan 2020 12:51:55 +0100 Subject: i3 and zsh cleanup, and passmenu smaller mod --- i3/Scripts/net.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 i3/Scripts/net.sh (limited to 'i3/Scripts/net.sh') diff --git a/i3/Scripts/net.sh b/i3/Scripts/net.sh deleted file mode 100644 index d443091..0000000 --- a/i3/Scripts/net.sh +++ /dev/null @@ -1,19 +0,0 @@ -PIDFILE=/tmp/statNet.pid -STATUSFILE=/tmp/dsbANet - -kill `cat $PIDFILE` -if [ $? -eq 0 ]; then - echo "Shutting down" - rm $STATUSFILE - exit -fi - -echo $$ > $PIDFILE - -while true; do - - IP=$( ip -4 a | grep "inet " | sed "s:inet \(.*\)/.*:\1:" | tr -d " " | grep -v "0.1" | tr "\n" " ") - - echo "$IP " > $STATUSFILE - sleep 10 -done -- cgit v1.2.3