mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07: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:
@@ -1,11 +1,11 @@
|
||||
[Unit]
|
||||
Description=Wait on network
|
||||
Requisite=connman.service
|
||||
After=connman.service
|
||||
Before=network-online.target
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
ConditionPathExists=/storage/.cache/libreelec/network_wait
|
||||
ConditionPathExists=!/dev/.kernel_ipconfig
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[Unit]
|
||||
Description=Wait for network to be configured by ConnMan
|
||||
Requisite=connman.service
|
||||
After=connman.service
|
||||
Before=network-online.target
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
ConditionPathExists=!/dev/.kernel_ipconfig
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
Reference in New Issue
Block a user