summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-04-07 16:15:55 -0400
committerScott Ullrich <sullrich@pfsense.org>2011-04-07 16:15:55 -0400
commitd0cc727eb79bcd1c62cbaa66886accc5c199d27c (patch)
treed9e25730faa74e419d786b93c5a9dd919ba08e3e /sbin
parent955f2d788edae3c65506ffa12de18e023fd95ae4 (diff)
downloadpfsense-d0cc727eb79bcd1c62cbaa66886accc5c199d27c.zip
pfsense-d0cc727eb79bcd1c62cbaa66886accc5c199d27c.tar.gz
Use full path to egrep
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 0f409a3..24b9f9d 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -239,7 +239,7 @@ add_new_resolv_conf() {
echo '$nameserver_sanitized' >>/var/etc/nameserver_$interface
$ROUTE add $nameserver_sanitized -iface $interface
done
- echo $new_domain_name | egrep -o "[0-9\.]+" >/var/etc/searchdomain_$interface
+ echo $new_domain_name | /usr/bin/egrep -o "[0-9\.]+" >/var/etc/searchdomain_$interface
fi
return 0
OpenPOWER on IntegriCloud