summaryrefslogtreecommitdiffstats
path: root/netconfig
diff options
context:
space:
mode:
Diffstat (limited to 'netconfig')
-rw-r--r--netconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/netconfig b/netconfig
index b03a667..82bb9ef 100644
--- a/netconfig
+++ b/netconfig
@@ -511,7 +511,8 @@ and dots, and may not begin or end with a hyphen or dot." 7 68
done
# Write the hostname with domain to /etc/HOSTNAME:
-echo $HOSTNM.$DOMAIN > etc/HOSTNAME
+# Do this at the end when writing all the config files.
+# echo $HOSTNM.$DOMAIN > etc/HOSTNAME
## OBSOLETE with recent NetworkManager:
## Also make sure the hostname is written to /etc/NetworkManager/NetworkManager.conf:
#if [ -w etc/NetworkManager/NetworkManager.conf ]; then
@@ -646,7 +647,7 @@ if [ "$LOOPBACK" = "no" -a ! "$USE_DHCP" = "yes" -a ! "$USE_SLAAC" = "yes" ]; th
--colors --inputbox \
"Enter the \Z1IPv4\Zn addresses for this host. You may list one or more,
space delimited, IPv4 addresses with netmasks in the format:
- \Z1<IP address>/<CIDR netmask>\Zn
+ <IP address>/<CIDR netmask>
For example:
111.112.113.114/24 or 111.112.113.114/24 10.0.1.114/8
Old style netmask 255.255.255.0 is equilivant of 24 in CIDR style.
@@ -742,7 +743,7 @@ Enter IPv4 gateway address:" 14 69 "$GATEWAY" 2> $TMP/SeTgateway4
--colors --inputbox \
"Enter the \Z1IPv6\Zn addresses for this host. You may list one or more,
space delimited, IPv6 addresses with their prefixes in the format:
- \Z1<IP address>/<prefix>\Zn
+ <IP address>/<prefix>
For example:
1a:1b:1c:1d::abc/64 or 1a:1b:1c:1d::abc/64 fe80::2:3:4:abc/64
If a prefix is not specified a default of 64 will be used.