diff options
author | Andrzej Telszewski <atelszewski@gmail.com> | 2018-03-18 03:49:36 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2018-03-18 03:49:36 -0500 |
commit | 663453e3e0136ad9ae0a4b5c9c67c535af9b8995 (patch) | |
tree | 1369b42c1004111aa898a4c6bc1c7e34dc0370a2 | |
parent | 137657f6d9683cbc7d13840099e55cc52c68d5e9 (diff) | |
download | slacknetsetup-663453e3e0136ad9ae0a4b5c9c67c535af9b8995.tar.xz |
netconfig: Don't write hostname to NM config file any more
Signed-off-by: Robby Workman <rworkman@slackware.com>
-rw-r--r-- | netconfig | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -362,10 +362,6 @@ done # Write the hostname with domain to /etc/HOSTNAME: echo $HOSTNM.$DOMAIN > etc/HOSTNAME -# Also make sure the hostname is written to /etc/NetworkManager/NetworkManager.conf: -if [ -w etc/NetworkManager/NetworkManager.conf ]; then - sed -i "s/^hostname=.*$/hostname=$HOSTNM/g" etc/NetworkManager/NetworkManager.conf -fi dialog --title "CONFIGURATION TYPE FOR '$HOSTNM.$DOMAIN'" \ --default-item DHCP \ |