Scriptoptimierung
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#/bin/sh
|
#/bin/sh
|
||||||
cd /home/openhabian/freifunk
|
cd /home/openhabian/freifunk
|
||||||
rm -f freifunk
|
|
||||||
rm -f 00:11:22:33:44:55
|
rm -f 00:11:22:33:44:55
|
||||||
wget -q https://nodealarm.freifunk-stuttgart.de/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
|
sed "s/\[//g" <00:11:22:33:44:55 >freifunk.neu
|
||||||
mv freifunk 00:11:22:33:44:55
|
mv freifunk.neu 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 -f freifunk.neu freifunk
|
||||||
|
|||||||
Reference in New Issue
Block a user