mirror of
https://git.openwrt.org/feed/routing.git
synced 2025-01-09 04:07:48 +08:00
miniupnpd: Fixed hotplug script's DEVICE handling.
This commit is contained in:
parent
6c553c24c0
commit
20c981679d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user