summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-08 17:57:23 +0000
committerErmal <eri@pfsense.org>2010-12-08 17:57:23 +0000
commit409dc2e1cca772fa6d46403269554487d1236b09 (patch)
tree6474fbcbe73e6d3c2bca384015229673147783ec
parent6cf1cc61168f9b70157424e8828b742a8e05d13d (diff)
downloadpfsense-409dc2e1cca772fa6d46403269554487d1236b09.zip
pfsense-409dc2e1cca772fa6d46403269554487d1236b09.tar.gz
Actually we do not use this code at all in pfSense.
-rwxr-xr-xsbin/dhclient-script12
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index a177e2c..40490aa 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -261,12 +261,12 @@ if [ -f /etc/dhclient-enter-hooks ]; then
fi
fi
-if [ -x $ROUTE ]; then
- if_defaultroute=`$ROUTE -n get -inet default | $GREP interface | $AWK '{print $2}'`
-else
- $LOGGER "if_defaultroute"
- if_defaultroute="x"
-fi
+#if [ -x $ROUTE ]; then
+# if_defaultroute=`$ROUTE -n get -inet default | $GREP interface | $AWK '{print $2}'`
+#else
+# $LOGGER "if_defaultroute"
+# if_defaultroute="x"
+#fi
$LOGGER $reason
case $reason in
OpenPOWER on IntegriCloud