diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-10-07 05:23:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-10-07 05:23:39 +0000 |
commit | 68125d3c96957eeabd28e47999e7f824e2722f2c (patch) | |
tree | d662e2fbc301f7feef481106b72aeca51d45261b | |
parent | 5e5845e6044e50a37d83353962485c3d81ef0679 (diff) | |
download | pfsense-packages-68125d3c96957eeabd28e47999e7f824e2722f2c.tar.gz pfsense-packages-68125d3c96957eeabd28e47999e7f824e2722f2c.tar.bz2 pfsense-packages-68125d3c96957eeabd28e47999e7f824e2722f2c.zip |
Sleep in between restart
-rw-r--r-- | packages/miniupnpd/miniupnpd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/miniupnpd/miniupnpd.inc b/packages/miniupnpd/miniupnpd.inc index ee658bc8..ecd2fa10 100644 --- a/packages/miniupnpd/miniupnpd.inc +++ b/packages/miniupnpd/miniupnpd.inc @@ -37,7 +37,7 @@ $start = "# Clear existing rules and rdr entries \n"; $start .= "/sbin/pfctl -aminiupnpd -Fr 2>&1 >/dev/null\n"; $start .= "/sbin/pfctl -aminiupnpd -Fn 2>&1 >/dev/null\n"; - $start .= "killall miniupnpd; /usr/local/sbin/miniupnpd -p 2869{$ifaces_final}"; + $start .= "killall miniupnpd; sleep 3; /usr/local/sbin/miniupnpd -p 2869{$ifaces_final}"; /* override wan ip address, common for carp, etc */ if($overridewanip) |