[net] Firewall: miniupnpd: Fixed miniupnpd attaching to shell when extra logging enabled. Fixed duplicated log messages when doing extra logging and removed unnecessary eval.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26478 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
74b4512305
commit
0d8889ce49
@ -163,9 +163,9 @@ start() {
|
||||
miniupnpd_add_rules "$zone" "${extiface:-wan}" "$ifname"
|
||||
|
||||
if [ "$logging" = "1" ]; then
|
||||
eval start-stop-daemon -S -x miniupnpd -- $args -d | logger -t miniupnpd &
|
||||
start-stop-daemon -b -S -x miniupnpd -- $args -d
|
||||
else
|
||||
eval start-stop-daemon -S -x miniupnpd -- $args 2>/dev/null
|
||||
start-stop-daemon -S -x miniupnpd -- $args
|
||||
fi
|
||||
else
|
||||
logger -t "upnp daemon" "external interface not found, not starting"
|
||||
|
Loading…
x
Reference in New Issue
Block a user