Commit 37033af8 authored by Jeff Bilyk's avatar Jeff Bilyk
Browse files

setup-dns: only output search domain if there was one entered

parent 296d95cc
......@@ -18,7 +18,9 @@ done
echon "] "
default_read dns "$dns"
echo "search $domain" > $conf
if [ "$domain" != "" ]; then
echo "search $domain" > $conf
for i in $dns ; do
echo "nameserver $i" >> $conf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment