Skip to content

Commit

Permalink
remove useless echo
Browse files Browse the repository at this point in the history
  • Loading branch information
pbyatshon committed Jul 31, 2018
1 parent e2c26a0 commit 1f65d69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2614,7 +2614,6 @@ generate_resolvconf() {
debug "# skipping IPv4 DNS resolvers"
sed -i "s/^#DNS=/DNS=${DNSRESOLVER_V6[*]}/g" "$SYSTEMD_RESOLV_CONF"
elif [ -n "$DOIPV6" ]; then
echo "$NAMESERVER" "$DNSRESOLVER_V6"
sed -i "s/^#DNS=/DNS=${NAMESERVER[*]}\ ${DNSRESOLVER_V6[*]}/g" "$SYSTEMD_RESOLV_CONF"
else
sed -i "s/^#DNS=/DNS=${NAMESERVER[*]}/g" "$SYSTEMD_RESOLV_CONF"
Expand Down

0 comments on commit 1f65d69

Please sign in to comment.