mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-02 10:41:46 -04:00
Also drop Requisite on connman.service as it's not really needed (connman and network online services all have conditions on !/dev/.kernel_ipconfig) and it causes a dependency failed message as Requisites are evaluated before conditions. Signed-off-by: Matthias Reichl <hias@horus.com>
17 lines
437 B
Desktop File
17 lines
437 B
Desktop File
[Unit]
|
|
Description=Wait for network to be configured by ConnMan
|
|
After=connman.service
|
|
Before=network-online.target
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
ConditionPathExists=!/dev/.kernel_ipconfig
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ..."'
|
|
ExecStart=/usr/sbin/connmand-wait-online --timeout=30
|
|
StandardOutput=tty
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=network-online.target
|