[net] Firewall: miniupnpd: Fixed miniupnpd attaching to shell when extra logging...
authorDaniel Dickinson <crazycshore@gmail.com>
Tue, 5 Apr 2011 10:30:33 +0000 (10:30 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Tue, 5 Apr 2011 10:30:33 +0000 (10:30 +0000)
SVN-Revision: 26478

net/miniupnpd/files/miniupnpd.init

index 1cf3fc15ecd5010bd1e7fd4c7d7baa932ae1e911..3d41ba8ab8d5c1f7c6dce091abc50e0df31d01d0 100644 (file)
@@ -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"