Changeset 10841 in hybrid for branches/releng-9.0/nanobsd
- Timestamp:
- May 13, 2012, 8:58:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/files/etc/dhclient-exit-hooks
r10651 r10841 18 18 if is_default_interface 2>/dev/null; then 19 19 $LOGGER "is_default_interface: TRUE" 20 $LOGGER "`sysctl net.my_fib`" 20 21 new_ext_if_gw=`route -n get default 2>/dev/null | awk '/gateway/ {print $2}'` 21 22 $LOGGER "prev default gateway: $ext_if_gw" … … 37 38 if [ -n "$new_ext_if_gw" ] && checkyesno "service_proxy_normal" && checkyesno "service_accesspoint"; then 38 39 $LOGGER "Removing default route from routing table 0 as machine is marked as service_proxy AND service_accesspoint" 39 $LOGGER "` route -q del default 2>&1`"40 $LOGGER "`setfib 0 route -q del default 2>&1`" 40 41 fi 41 42 }
Note:
See TracChangeset
for help on using the changeset viewer.