X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=sound%2Fmt-daapd%2Ffiles%2Fmt-daapd.init;fp=sound%2Fmt-daapd%2Ffiles%2Fmt-daapd.init;h=460824ef6ca91734e0d080994a507b17f8a3ed6b;hb=7608ba449f7f077488c6af84a327cbca3737c4d9;hp=344621a41ae3545451b691d555f4c43f0e8d9652;hpb=d42adbf1a5d461e96547c5ecd7187771884f2b8a;p=packages.git diff --git a/sound/mt-daapd/files/mt-daapd.init b/sound/mt-daapd/files/mt-daapd.init index 344621a41..460824ef6 100644 --- a/sound/mt-daapd/files/mt-daapd.init +++ b/sound/mt-daapd/files/mt-daapd.init @@ -5,9 +5,9 @@ BIN=mt-daapd DEFAULT=/etc/default/$BIN RUN_D=/var/run PID_F=$RUN_D/$BIN.pid -[ -f $DEFAULT ] && . $DEFAULT start() { + [ -f $DEFAULT ] && . $DEFAULT [ -d $RUN_D ] || mkdir -p $RUN_D $BIN $OPTIONS }