Lines Matching +full:route +full:- +full:up
3 # Copyright (c) 2012-2013 Devin Teske
60 # If not running as init (and setting up RTSOL connections for
64 # If not running as init (and setting up a static connection for
68 # default route but not everyone).
79 f_dprintf "Not running as init -- calling the deed done."
84 if [ ! -e "$RESOLV_CONF" ]; then
95 # If this interface isn't a DHCP one, bring it up.
96 # If it is, then it's already up.
100 f_dprintf "A DHCP interface. Should already be up."
118 # show up in the route add below.
120 f_quietly route -n flush
121 f_dprintf "Adding default route to %s." "$rp"
122 if ! f_quietly route -n add default "$rp"; then
142 # deletes the default route (if configured). Returns failure if the device
152 f_dprintf "Network not initialized -- nothing to do."
160 f_dprintf "Not running as init -- calling the deed done."
170 f_dprintf "Deleting default route."
171 f_quietly route -n delete default