mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
avahi: start init scripts on RUNLEVEL=boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
2e59361b82
commit
e78b76d1e2
@ -22,11 +22,17 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec, textmode
|
# runlevels: openelec, textmode
|
||||||
|
|
||||||
(
|
case $RUNLEVEL in
|
||||||
wait_for_network
|
boot)
|
||||||
|
(
|
||||||
|
wait_for_network
|
||||||
|
|
||||||
progress "Starting Avahi Daemon"
|
progress "Starting Avahi Daemon"
|
||||||
|
mkdir -p /var/run/avahi-daemon
|
||||||
|
avahi-daemon -D
|
||||||
|
)&
|
||||||
|
;;
|
||||||
|
|
||||||
mkdir -p /var/run/avahi-daemon
|
poweroff|reboot)
|
||||||
avahi-daemon -D
|
;;
|
||||||
)&
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user