2011-02-19 19:11:11 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2011-06-09 17:04:06 +00:00
|
|
|
/etc/init.d/miniupnpd enabled && [ -n "`pidof miniupnpd`" ] && [ "$ACTION" = "ifup" ] && {
|
|
|
|
local intif
|
|
|
|
for intif in $(uci_get upnpd config internal_iface); do
|
|
|
|
[ "$INTERFACE" = "$intif" ] && /etc/init.d/miniupnpd restart
|
|
|
|
done
|
2011-02-19 19:11:11 +00:00
|
|
|
}
|