diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-04-07 16:16:26 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-04-07 16:16:26 -0400 |
commit | 1fd807da8a52ac87eb3c13726b6b80f40227e0c9 (patch) | |
tree | 23aa9e3b439a74e8b4b029aa4e9c85f15a4d8831 /sbin/dhclient-script | |
parent | d0cc727eb79bcd1c62cbaa66886accc5c199d27c (diff) | |
download | pfsense-1fd807da8a52ac87eb3c13726b6b80f40227e0c9.zip pfsense-1fd807da8a52ac87eb3c13726b6b80f40227e0c9.tar.gz |
Use full path to egrep
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-x | sbin/dhclient-script | 2 |
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 |