]> git.nbdom.net Git - nb.git/commitdiff
shairplay
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 16 Aug 2015 16:31:50 +0000 (17:31 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 16 Aug 2015 16:31:50 +0000 (17:31 +0100)
etc/init.d/shairplay

index 58a437617bd93924fb5e33924f7653d7feb25c1f..45050470de762a5f2bd06749d7075e567ee63bdc 100755 (executable)
@@ -34,9 +34,9 @@ fi
 if [ "$START" != "yes" ]; then
        echo "$NAME not configured to start, please edit /etc/default/$NAME to enable (START=yes)"
 fi
-[ -n "$PORT" ] && ARGS="$ARGS --server_port $PORT"
-[ -n "$PASSWORD" ] && ARGS="$ARGS --password $PASSWORD"
-[ -n "$APNAME" ] && ARGS="$ARGS --apname $APNAME"
+[ -n "$PORT" ] && ARGS="$ARGS --server_port=$PORT"
+[ -n "$PASSWORD" ] && ARGS="$ARGS --password=$PASSWORD"
+[ -n "$APNAME" ] && ARGS="$ARGS --apname=$APNAME"
 
 case "$1" in
   start)