diff options
author | Robby Workman <rworkman@slackware.com> | 2021-02-28 15:26:24 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2021-02-28 15:26:24 -0600 |
commit | f19b5df1d588df2abdc32392e061dda3383bb9b6 (patch) | |
tree | b7de9ff9088ab8f8066085a91887c1526d1266fe /netconfig | |
parent | 28afc909d024dc0377be3b515f5768d1df34a159 (diff) | |
download | slacknetsetup-f19b5df1d588df2abdc32392e061dda3383bb9b6.tar.xz |
netconfig: fix formatting of generated hosts file
Diffstat (limited to 'netconfig')
-rw-r--r-- | netconfig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -302,7 +302,7 @@ chmod 644 $ETCNETWORKS ::1 localhost EOF [ -n "${IPADDRS[0]}" ] && echo -e "${IPADDRS[0]%%/*}\t\t$HOSTNM.$DOMAIN $HOSTNM" >>$HOSTS -[ -n "${IP6ADDRS[0]}" ] && echo -e "${IP6ADDRS[0]%%/*}\t\t$HOSTNM.$DOMAIN $HOSTNM" >>$HOSTS +[ -n "${IP6ADDRS[0]}" ] && echo -e "${IP6ADDRS[0]%%/*}\t\t\t$HOSTNM.$DOMAIN $HOSTNM" >>$HOSTS chmod 644 $HOSTS # ############################################################################ |