diff options
author | Simon Rettberg | 2021-08-11 15:58:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-08-11 15:58:09 +0200 |
commit | 6995afb6f1b01938e4a3ca0daf375dfe276181d5 (patch) | |
tree | 3b8883351554bc4f7f949495c8164a99d0403be5 /core/modules/slx-network-configs-targets/module.build | |
parent | [redsocks] Upper- and lowercase proxy env (diff) | |
download | mltk-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/module.build')
-rw-r--r-- | core/modules/slx-network-configs-targets/module.build | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/slx-network-configs-targets/module.build b/core/modules/slx-network-configs-targets/module.build new file mode 100644 index 00000000..241bcd5e --- /dev/null +++ b/core/modules/slx-network-configs-targets/module.build @@ -0,0 +1,12 @@ +#!/bin/bash +fetch_source() { + : +} + +build() { + pinfo "Static module, nothing to build." +} + +post_copy() { + : +} |