diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-10 23:31:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-10 23:31:02 +0000 |
commit | 5b4180d3452e6283b5b91958dc91254eb7790663 (patch) | |
tree | 752756370d55b24abcb4a04cba0c6ddf92ed5a2b /sbin/dhclient-script | |
parent | cdda736bb3e614f19eb88b62d18e832766139b8a (diff) | |
download | pfsense-5b4180d3452e6283b5b91958dc91254eb7790663.zip pfsense-5b4180d3452e6283b5b91958dc91254eb7790663.tar.gz |
Log commands run to bring up default route
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-x | sbin/dhclient-script | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script index 172f4a3..cbca29a 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -119,9 +119,11 @@ add_new_routes() { if [ "$new_ip_address" = "$router" ]; then $ROUTE add default -iface $router #>/dev/null 2>&1 + echo $ROUTE add default -iface $router | $LOGGER echo $new_routers > /tmp/${interface}_router else $ROUTE add default $router + echo $ROUTE add default $router | $LOGGER #>/dev/null 2>&1 echo $new_routers > /tmp/${interface}_router fi |