projects
/
rrq
/
rrqnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db3ec8a
)
delete the tap on teardown
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 28 Sep 2021 13:43:36 +0000
(23:43 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 28 Sep 2021 13:43:36 +0000
(23:43 +1000)
rrqnet-ifupdown.sh
patch
|
blob
|
history
diff --git
a/rrqnet-ifupdown.sh
b/rrqnet-ifupdown.sh
index e2f91e5dc862cb5b665b2cda140a13d490d2c7b4..b36131eec9f8c8716615bc535e0df9c7ffa3720c 100755
(executable)
--- 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