X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=libs%2Favahi%2Ffiles%2Favahi-daemon.init;h=f8bee67090b5da7bd71f56413fb52225a9b46b8e;hp=81ceb9b9391676d249cbfeda04dfde3678473d89;hb=1f75d5501cb34f16404df265874bb341e0daba2e;hpb=aeecf77c07e778604794427277d18685019d6ab2 diff --git a/libs/avahi/files/avahi-daemon.init b/libs/avahi/files/avahi-daemon.init index 81ceb9b939..f8bee67090 100644 --- a/libs/avahi/files/avahi-daemon.init +++ b/libs/avahi/files/avahi-daemon.init @@ -5,9 +5,9 @@ BIN=avahi-daemon DEFAULT=/etc/default/$BIN OPTIONS="-D" RUN_D=/var/run/$BIN -[ -f $DEFAULT ] && . $DEFAULT start() { + [ -f $DEFAULT ] && . $DEFAULT mkdir -p $RUN_D $BIN $OPTIONS }