ff_olsrd_watchdog: delete existing tunnels
authorpmelange <pmelange@users.noreply.github.com>
Mon, 23 Apr 2018 20:24:39 +0000 (22:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 26 Jul 2018 18:31:27 +0000 (20:31 +0200)
commit667f73a4286248b77b194d64d8fc1d080de2c011
treee205074172aca1302180ede4e085bde1b44d2f3a
parentdf614ffd43baed82cef569664ee1082abb998d30
ff_olsrd_watchdog: delete existing tunnels

When OLSRd crashes, the old tunnels still exist.  This can lead to unexpected behaviour.
The tunnels to be removed start with "tnl_"

See freifunk-berlin/firmware#522

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
(cherry picked from commit 5d0b720f8b002ac0dd0097beb63d3a88ce1c7faf)
contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog