Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/defaultroute
| Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | while [ ${waited} -lt ${defaultroute_delay} ]; do | ||||
| sleep 1 | sleep 1 | ||||
| waited=$(($waited + 1)) | waited=$(($waited + 1)) | ||||
| done | done | ||||
| [ -n "$nl" ] && echo | [ -n "$nl" ] && echo | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # doesn't make sense to run in a svcj: config setting | |||||
| defaultroute_svcj="NO" | |||||
| run_rc_command "$1" | run_rc_command "$1" | ||||