From 5b4180d3452e6283b5b91958dc91254eb7790663 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 10 Sep 2005 23:31:02 +0000 Subject: Log commands run to bring up default route --- sbin/dhclient-script | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sbin/dhclient-script') 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 -- cgit v1.1