diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2020-11-27 15:58:46 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2021-02-27 23:47:58 -0600 |
commit | ce4b33c151b661b27c50ad1c38b639ff9f90e6a1 (patch) | |
tree | 6e3a124a0ae1d66c85aa4ae2e4e6a514a28b0279 /netconfig | |
parent | e5fccd9c24b3ad117fa2eb841433d95245ec705b (diff) | |
download | slacknetsetup-ce4b33c151b661b27c50ad1c38b639ff9f90e6a1.tar.xz |
Don't write HOSTNAME before confirmation. Remove colour around examples.
Diffstat (limited to 'netconfig')
-rw-r--r-- | netconfig | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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. |