mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
xbmc: respect $WAIT_NETWORK_TIME while waiting on network
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
cc2f8eb7ec
commit
94d6d535c7
@ -8,8 +8,9 @@ ConditionPathExists=/storage/.cache/openelec/network_wait
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ..."
|
EnvironmentFile=/storage/.cache/openelec/network_wait
|
||||||
ExecStart=/usr/bin/cm-online --timeout=30
|
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ... (max. $WAIT_NETWORK_TIME sec.)"
|
||||||
|
ExecStart=/usr/bin/cm-online --timeout=${WAIT_NETWORK_TIME}
|
||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user