From: Ralph Ronnquist Date: Tue, 28 Sep 2021 13:43:36 +0000 (+1000) Subject: delete the tap on teardown X-Git-Tag: 1.2~2 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=d10f3f0591c4fe3949f3b67dd6c3034c6701de7d;p=rrq%2Frrqnet.git delete the tap on teardown --- diff --git a/rrqnet-ifupdown.sh b/rrqnet-ifupdown.sh index e2f91e5..b36131e 100755 --- a/rrqnet-ifupdown.sh +++ b/rrqnet-ifupdown.sh @@ -104,11 +104,12 @@ stop_cable_pre_down() { : # no or unkown dhcp option ;; esac + daemon -n $NAME --stop } #function stop_cable_post_down() { - daemon -n $NAME --stop + ip link del $IFACE } # main script body