aboutsummaryrefslogtreecommitdiffstats
path: root/setup-dns.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-dns.in')
-rw-r--r--setup-dns.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-dns.in b/setup-dns.in
index 06568f6..18a6470 100644
--- a/setup-dns.in
+++ b/setup-dns.in
@@ -31,8 +31,8 @@ shift $(($OPTIND - 1))
conf="${ROOT}etc/resolv.conf"
if [ -f "$conf" ] ; then
- domain=`awk '/^domain/ {print $2}' $conf`
- dns=`awk '/^nameserver/ {print $2}' $conf`
+ domain=$(awk '/^domain/ {print $2}' $conf)
+ dns=$(awk '/^nameserver/ {print $2}' $conf)
fi
if [ -n "$DOMAINNAME" ];then