projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[package] fix miniupnpd compilation with brcm-2.4 (#5630)
[openwrt/svn-archive/archive.git]
/
net
/
miniupnpd
/
files
/
miniupnpd.hotplug
1
#!/bin/sh
2
3
/
etc
/
init.d
/
miniupnpd enabled
&& {
4
killall
-0
miniupnpd
2
>/
dev
/
null
&& {
5
.
/
lib
/
miniupnpd
/
firewall.sh
6
7
[
"
$ACTION
"
=
"ifup"
] && {
8
upnp_firewall_delif
9
upnp_firewall_addif
10
}
11
12
[
"
$ACTION
"
=
"ifdown"
] && {
13
upnp_firewall_delif
14
}
15
}
||
{
16
/
etc
/
init.d
/
miniupnpd restart
17
}
18
}