mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +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]
|
||||
Type=oneshot
|
||||
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ..."
|
||||
ExecStart=/usr/bin/cm-online --timeout=30
|
||||
EnvironmentFile=/storage/.cache/openelec/network_wait
|
||||
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
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user