Lakka-LibreELEC/packages/network/connman/system.d/network-online.service
Matthias Reichl 886bb0164a disable network online services when using kernel ip configuration
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>
2019-11-15 18:54:04 +01:00

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