Revision 3ec71029
Added by Scott Ullrich almost 20 years ago
sbin/dhclient-script | ||
---|---|---|
141 | 141 |
echo $new_routers > /tmp/${interface}_router |
142 | 142 |
done |
143 | 143 |
fi |
144 |
|
|
145 |
# last ditch effort if no route exists. |
|
146 |
$ROUTE add default -iface $interface |
|
147 |
|
|
144 | 148 |
} |
145 | 149 |
|
146 | 150 |
add_new_resolv_conf() { |
Also available in: Unified diff
Add the interface as the default gateway if all else fails