mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 19:09:46 +00:00
21 lines
582 B
Desktop File
21 lines
582 B
Desktop File
[Unit]
|
|
Description=Wait on network
|
|
After=connman.service
|
|
Before=network-online.target
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
ConditionFileNotEmpty=/storage/.cache/libreelec/network_wait
|
|
ConditionPathExists=!/dev/.kernel_ipconfig
|
|
ConditionPathExists=/storage/.kodi/userdata/addon_data/service.libreelec.settings/oe_settings.xml
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
EnvironmentFile=/storage/.cache/libreelec/network_wait
|
|
ExecStart=/usr/bin/wait-time-sync --timeout ${WAIT_NETWORK_TIME}
|
|
StandardOutput=tty
|
|
RemainAfterExit=yes
|
|
SuccessExitStatus=1
|
|
|
|
[Install]
|
|
WantedBy=network-online.target
|