mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
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>
This commit is contained in:
parent
4f5fee7653
commit
97e2c5204c
@ -1,11 +1,11 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Wait on network
|
Description=Wait on network
|
||||||
Requisite=connman.service
|
|
||||||
After=connman.service
|
After=connman.service
|
||||||
Before=network-online.target
|
Before=network-online.target
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
ConditionPathExists=/storage/.cache/libreelec/network_wait
|
ConditionPathExists=/storage/.cache/libreelec/network_wait
|
||||||
|
ConditionPathExists=!/dev/.kernel_ipconfig
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Wait for network to be configured by ConnMan
|
Description=Wait for network to be configured by ConnMan
|
||||||
Requisite=connman.service
|
|
||||||
After=connman.service
|
After=connman.service
|
||||||
Before=network-online.target
|
Before=network-online.target
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
|
ConditionPathExists=!/dev/.kernel_ipconfig
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user