projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c553c2
)
miniupnpd: Fixed hotplug script's DEVICE handling.
author
Markus Stenberg
<markus.stenberg@iki.fi>
Wed, 25 Jun 2014 08:09:18 +0000
(11:09 +0300)
committer
Markus Stenberg
<markus.stenberg@iki.fi>
Wed, 25 Jun 2014 08:09:18 +0000
(11:09 +0300)
miniupnpd/files/miniupnpd.hotplug
patch
|
blob
|
history
diff --git
a/miniupnpd/files/miniupnpd.hotplug
b/miniupnpd/files/miniupnpd.hotplug
index a98a50cc441c5e66df70d46201f3e120d8377b63..c3805381767cb3deb563028b23a5167053ae7ccb 100644
(file)
--- a/
miniupnpd/files/miniupnpd.hotplug
+++ b/
miniupnpd/files/miniupnpd.hotplug
@@
-14,9
+14,11
@@
fi
# - check only on ifup (otherwise lease updates etc would cause
# miniupnpd state loss)
-
[ ! "$ACTION" = "ifup" ] && service_check /usr/sbin/miniupnpd && exit 0
+# DEVICE is set only in ifup as of 20140625 netifd
+[ -z "$DEVICE" ] && network_get_device DEVICE $INTERFACE
+
local iface
local ext_iface
local ext_iface6