mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-29 12:13:01 +02:00
Turns out the root cause for the odd log message in #896 was that the system did not properly call `resolvconf -u` when starting in failure mode. This patch simplifies the code by moving all `resolvconf -u` calls to the same Finit task. Ensuring it is first launched when confd has successfully consumed any configuration at boot, and then every time a static DNS server is added. (The udhcpc client script already call `resolvconf -u` when dynamic DNS servers are learned.) Fixes #896 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
4 lines
209 B
Plaintext
4 lines
209 B
Plaintext
# Create initial /etc/resolv.conf after successful bootstrap, regardless
|
|
# of startup-config or failure-config. Condition set by confd.
|
|
task [S12345] <usr/bootstrap> resolvconf -u -- Update DNS configuration
|