mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
connman: run in a loop to restart on crash
This commit is contained in:
parent
e15d9ba5a5
commit
0ceb1433bb
@ -36,10 +36,15 @@ mkdir -p /run/connman
|
|||||||
cp /usr/share/connman/settings /storage/.cache/connman
|
cp /usr/share/connman/settings /storage/.cache/connman
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
# starting Connection manager
|
# starting Connection manager
|
||||||
progress "starting Connection manager"
|
progress "starting Connection manager"
|
||||||
if [ -f $HOME/.config/debug.connman ]; then
|
while true; do
|
||||||
/usr/sbin/connmand -rd > /dev/null 2>&1
|
if [ -f $HOME/.config/debug.connman ]; then
|
||||||
else
|
/usr/sbin/connmand -nrd > /dev/null 2>&1
|
||||||
/usr/sbin/connmand -r > /dev/null 2>&1
|
else
|
||||||
fi
|
/usr/sbin/connmand -nr > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
usleep 250000
|
||||||
|
done
|
||||||
|
)&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user