From d10f3f0591c4fe3949f3b67dd6c3034c6701de7d Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Tue, 28 Sep 2021 23:43:36 +1000 Subject: [PATCH] delete the tap on teardown --- rrqnet-ifupdown.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2