summaryrefslogtreecommitdiffstats
path: root/core/modules/slx-network-configs-targets/data/etc/systemd/system/network.target.wants/slx-wait-primary-dhcp.service
diff options
context:
space:
mode:
authorSimon Rettberg2021-08-11 15:58:09 +0200
committerSimon Rettberg2021-08-11 15:58:09 +0200
commit6995afb6f1b01938e4a3ca0daf375dfe276181d5 (patch)
tree3b8883351554bc4f7f949495c8164a99d0403be5 /core/modules/slx-network-configs-targets/data/etc/systemd/system/network.target.wants/slx-wait-primary-dhcp.service
parent[redsocks] Upper- and lowercase proxy env (diff)
downloadmltk-6995afb6f1b01938e4a3ca0daf375dfe276181d5.tar.gz
mltk-6995afb6f1b01938e4a3ca0daf375dfe276181d5.tar.xz
mltk-6995afb6f1b01938e4a3ca0daf375dfe276181d5.zip
Implement blocking network.target and network-online.target
Add two services that will delay reaching the according targets, until conditions we consider reasonable are reached. For network.target that is finishing DHCP for the primary interface, for network-online.target we want to see a default gateway or a proxy server configured. Both have a timeout of about 10 seconds for now; this might be increased later on, if necessary.
Diffstat (limited to 'core/modules/slx-network-configs-targets/data/etc/systemd/system/network.target.wants/slx-wait-primary-dhcp.service')
l---------core/modules/slx-network-configs-targets/data/etc/systemd/system/network.target.wants/slx-wait-primary-dhcp.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/slx-network-configs-targets/data/etc/systemd/system/network.target.wants/slx-wait-primary-dhcp.service b/core/modules/slx-network-configs-targets/data/etc/systemd/system/network.target.wants/slx-wait-primary-dhcp.service
new file mode 120000
index 00000000..e7f32c14
--- /dev/null
+++ b/core/modules/slx-network-configs-targets/data/etc/systemd/system/network.target.wants/slx-wait-primary-dhcp.service
@@ -0,0 +1 @@
+../slx-wait-primary-dhcp.service \ No newline at end of file