diff options
Diffstat (limited to 'builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3')
-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? |