diff options
author | Julian T <julian@jtle.dk> | 2020-05-29 11:17:27 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-05-29 11:17:27 +0200 |
commit | 0e774422009fc812a9969d1825497e50101c9d42 (patch) | |
tree | c0e967d5d453a98663cfb6879aacd8195b2961e8 /dwm/Scripts/net.sh | |
parent | 94138a90320d5acabf9ef55e3eddada99368eb32 (diff) |
Removed dwm, see legacy_dwm branch
Diffstat (limited to 'dwm/Scripts/net.sh')
-rw-r--r-- | dwm/Scripts/net.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dwm/Scripts/net.sh b/dwm/Scripts/net.sh deleted file mode 100644 index d443091..0000000 --- a/dwm/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 |