mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-30 16:15:40 +00:00
Update minissdpd.init.d.script
This commit is contained in:
parent
f11b8b2a0d
commit
f4f21897e2
@ -8,7 +8,7 @@ MINISSDPD=/usr/sbin/minissdpd
|
||||
PIDFILE=/var/run/minissdpd.pid
|
||||
# get default interface
|
||||
IF=`route | grep default |awk -- '{ print $8 }'`
|
||||
ARGS="-i `ifconfig $IF|grep 'inet adr'|sed 's/.\+inet adr:\([0-9.]\+\).\+/\1/'`"
|
||||
ARGS="-i $IF"
|
||||
|
||||
test -f $MINISSDPD || exit 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user