net/upnp: change killbypid() to wait by default
This commit is contained in:
parent
f3b14c91e6
commit
58f5f8f1bc
|
@ -1,6 +1,6 @@
|
|||
PLUGIN_NAME= upnp
|
||||
PLUGIN_VERSION= 1.5
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_DEPENDS= miniupnpd-devel
|
||||
PLUGIN_COMMENT= Universal Plug and Play Service
|
||||
PLUGIN_MAINTAINER= franco@opnsense.org
|
||||
|
|
|
@ -80,7 +80,8 @@ function miniupnpd_start()
|
|||
|
||||
function miniupnpd_stop()
|
||||
{
|
||||
killbypid('/var/run/miniupnpd.pid', 'TERM', true);
|
||||
killbypid('/var/run/miniupnpd.pid');
|
||||
|
||||
mwexec('/sbin/pfctl -aminiupnpd -Fr 2>&1 >/dev/null');
|
||||
mwexec('/sbin/pfctl -aminiupnpd -Fn 2>&1 >/dev/null');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue