summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-30 18:33:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-30 18:33:18 +0000
commit03af9b1a76337fb19370920705ca9629ad8c1405 (patch)
tree55c7c4e49150e0f01d2ff49d0542057f85e7ff4e
parent63aab6a1b3d1e62ef1ffa50e382ab56b2dc133dd (diff)
downloadpfsense-03af9b1a76337fb19370920705ca9629ad8c1405.zip
pfsense-03af9b1a76337fb19370920705ca9629ad8c1405.tar.gz
Do not echo nameserver $nameserver, simply echo $nameserver
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 308e06a..7fb0f4c 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -152,7 +152,7 @@ add_new_resolv_conf() {
if [ -n "$new_domain_name_servers" ]; then
for nameserver in $new_domain_name_servers; do
- echo "nameserver $nameserver" >>/var/etc/resolv.conf.std
+ echo "$nameserver" >>/var/etc/resolv.conf.std
echo $nameserver >>/var/etc/nameservers.conf
echo $new_domain_name >/var/etc/defaultdomain.conf
done
OpenPOWER on IntegriCloud