Browse Source

Scriptoptimierung

master
Martin Sebald 7 years ago
parent
commit
2dd924e9ab
  1. 8
      freifunk/freifunk

8
freifunk/freifunk

@ -1,8 +1,8 @@
#/bin/sh
cd /home/openhabian/freifunk
rm -f freifunk
rm -f 00:11:22:33:44:55
wget -q https://nodealarm.freifunk-stuttgart.de/00:11:22:33:44:55
sed "s/\[//g" <00:11:22:33:44:55 >freifunk
mv freifunk 00:11:22:33:44:55
sed "s/\]//g" <00:11:22:33:44:55 >freifunk
sed "s/\[//g" <00:11:22:33:44:55 >freifunk.neu
mv freifunk.neu 00:11:22:33:44:55
sed "s/\]//g" <00:11:22:33:44:55 >freifunk.neu
mv -f freifunk.neu freifunk

Loading…
Cancel
Save