mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
avahi: wait for network on startup and restart after crash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
085290e7ef
commit
50f99af168
@ -23,11 +23,12 @@
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
(
|
||||
# sleep 10 sec to be ensure network is started
|
||||
usleep 10000000
|
||||
|
||||
wait_for_inet_addr
|
||||
progress "Starting Avahi Daemon"
|
||||
|
||||
mkdir -p /var/run/avahi-daemon
|
||||
avahi-daemon -D
|
||||
while true; do
|
||||
sleep 2
|
||||
avahi-daemon
|
||||
done
|
||||
)&
|
||||
|
Loading…
x
Reference in New Issue
Block a user