summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient-script
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-10 23:31:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-10 23:31:02 +0000
commit5b4180d3452e6283b5b91958dc91254eb7790663 (patch)
tree752756370d55b24abcb4a04cba0c6ddf92ed5a2b /sbin/dhclient-script
parentcdda736bb3e614f19eb88b62d18e832766139b8a (diff)
downloadpfsense-5b4180d3452e6283b5b91958dc91254eb7790663.zip
pfsense-5b4180d3452e6283b5b91958dc91254eb7790663.tar.gz
Log commands run to bring up default route
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-xsbin/dhclient-script2
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
OpenPOWER on IntegriCloud