Merge remote-tracking branch 'tedshroyer/master'
Update minissdpd.init.d.script
This commit is contained in:
commit
5459ab79cb
|
@ -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…
Reference in New Issue