Merge remote-tracking branch 'tedshroyer/master'

Update minissdpd.init.d.script
This commit is contained in:
Thomas Bernard 2015-05-22 12:54:22 +02:00
commit 5459ab79cb
1 changed files with 1 additions and 1 deletions

View File

@ -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