summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-04-07 16:16:26 -0400
committerScott Ullrich <sullrich@pfsense.org>2011-04-07 16:16:26 -0400
commit1fd807da8a52ac87eb3c13726b6b80f40227e0c9 (patch)
tree23aa9e3b439a74e8b4b029aa4e9c85f15a4d8831
parentd0cc727eb79bcd1c62cbaa66886accc5c199d27c (diff)
downloadpfsense-1fd807da8a52ac87eb3c13726b6b80f40227e0c9.zip
pfsense-1fd807da8a52ac87eb3c13726b6b80f40227e0c9.tar.gz
Use full path to egrep
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 24b9f9d..a41447d 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -232,7 +232,7 @@ add_new_resolv_conf() {
if [ -n "$new_domain_name_servers" ]; then
/bin/rm -f /var/etc/nameserver_$interface
for nameserver in $new_domain_name_servers; do
- nameserver_sanitized=`echo '$nameserver' | egrep -o '([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|[0-9a-f]+:)'`
+ nameserver_sanitized=`echo '$nameserver' | /usr/bin/egrep -o '([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|[0-9a-f]+:)'`
# Add a route to the nameserver out the correct interface
# so that mulitple wans work correctly with multiple dns
# also backup the nameserver for later route removal
OpenPOWER on IntegriCloud