From 61a210bb50a9740d67db70f891481649ccb7f8e3 Mon Sep 17 00:00:00 2001 From: stebifan Date: Tue, 3 May 2016 10:23:52 +0200 Subject: [PATCH] Removed collectd_td_stat (Added to keepalive.sh --- files/collectd_td_stat.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 files/collectd_td_stat.sh diff --git a/files/collectd_td_stat.sh b/files/collectd_td_stat.sh deleted file mode 100644 index d600d80..0000000 --- a/files/collectd_td_stat.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -#Check if foldes exists -if ! [ -d /opt/freifunk/tunneldigger_interfaces ]; then -mkdir /opt/freifunk/tunneldigger_interfaces -fi -#Remove old Interfaces -rm /opt/freifunk/tunneldigger_interfaces/* -#Create Interace files -for i in `/sbin/brctl show br-nodes | grep l2tp`; -do - touch /opt/freifunk/tunneldigger_interfaces/$i -done -#Remove wrong file -rm /opt/freifunk/tunneldigger_interfaces/no -rm /opt/freifunk/tunneldigger_interfaces/br-* -rm /opt/freifunk/tunneldigger_interfaces/8*