diff options
author | Jonathan Bauer | 2019-08-27 12:54:21 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-08-27 12:54:21 +0200 |
commit | 48bcbbd99a9b83dd6d6732c1065318d2c4588f2a (patch) | |
tree | 0e1c795eee1513b430a71228f71fae6f3b558c5f | |
parent | [slx-network] fix bad guard n°2 (diff) | |
download | systemd-init-48bcbbd99a9b83dd6d6732c1065318d2c4588f2a.tar.gz systemd-init-48bcbbd99a9b83dd6d6732c1065318d2c4588f2a.tar.xz systemd-init-48bcbbd99a9b83dd6d6732c1065318d2c4588f2a.zip |
[slx-network] add comment sections
-rwxr-xr-x | builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 b/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 index 4c3012ca..4760b5f9 100755 --- a/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 +++ b/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 @@ -20,6 +20,11 @@ if [ "x$1" != "xbound" -a "x$1" != "xrenew" ] \ exit 0 fi +## +## CORE NETWORK CONFIGURATION +## +## > IP, subnet, route + # If we already got an IP from KCL, see if it differs, and remove first if so # We just try to prevent everything from breaking if the DHCP server doesn't # objey the renew request by the client and hands out a new address @@ -53,6 +58,11 @@ if [ -n "${router}" ]; then echo "SLX_DHCP_GATEWAY='$router'" >> "$NETWORK_CONF" fi +## +## ADDITIONAL NETWORK CONFIGURATION +## +## > DNS, domain, hostname + rm -f -- "/etc/resolv.conf" # DNS/domain? |