avahi: start init scripts on RUNLEVEL=boot

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-09-07 23:09:42 +02:00
parent 2e59361b82
commit e78b76d1e2

View File

@ -22,11 +22,17 @@
#
# runlevels: openelec, textmode
(
case $RUNLEVEL in
boot)
(
wait_for_network
progress "Starting Avahi Daemon"
mkdir -p /var/run/avahi-daemon
avahi-daemon -D
)&
)&
;;
poweroff|reboot)
;;
esac