Update collectd_td_stat.sh
This commit is contained in:
parent
9349187da7
commit
49f58f357a
@ -6,9 +6,11 @@ fi
|
||||
#Remove old Interfaces
|
||||
rm /opt/freifunk/tunneldigger_interfaces/*
|
||||
#Create Interace files
|
||||
for i in `/usr/local/sbin/batctl if | grep l2tp1`;
|
||||
for i in `/sbin/brctl show vpn-td | grep l2tp1`;
|
||||
do
|
||||
touch /opt/freifunk/tunneldigger_interfaces/$i
|
||||
done
|
||||
#Remove Active file
|
||||
rm /opt/freifunk/tunneldigger_interfaces/active
|
||||
#Remove wrong file
|
||||
rm /opt/freifunk/tunneldigger_interfaces/no
|
||||
rm /opt/freifunk/tunneldigger_interfaces/br-*
|
||||
rm /opt/freifunk/tunneldigger_interfaces/8*
|
||||
|
Loading…
Reference in New Issue
Block a user