From 48bcbbd99a9b83dd6d6732c1065318d2c4588f2a Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 27 Aug 2019 12:54:21 +0200 Subject: [slx-network] add comment sections --- builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 | 10 ++++++++++ 1 file changed, 10 insertions(+) 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? -- cgit v1.2.3-55-g7522