summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index cbca29a..9197e46 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -141,6 +141,10 @@ add_new_routes() {
echo $new_routers > /tmp/${interface}_router
done
fi
+
+ # last ditch effort if no route exists.
+ $ROUTE add default -iface $interface
+
}
add_new_resolv_conf() {
OpenPOWER on IntegriCloud