rtsold revision 203433
1203433Sume#!/bin/sh 2203433Sume# 3203433Sume# $FreeBSD: head/etc/rc.d/rtsold 203433 2010-02-03 16:18:42Z ume $ 4203433Sume# 5203433Sume 6203433Sume# PROVIDE: rtsold 7203433Sume# REQUIRE: netif 8203433Sume# BEFORE: NETWORKING 9203433Sume# KEYWORD: nojail 10203433Sume 11203433Sume. /etc/rc.subr 12203433Sume 13203433Sumename="rtsold" 14203433Sumercvar=`set_rcvar` 15203433Sumecommand="/usr/sbin/${name}" 16203433Sumepidfile="/var/run/${name}.pid" 17203433Sumestart_postcmd="rtsold_poststart" 18203433Sume 19203433Sumertsold_poststart() 20203433Sume{ 21203433Sume # wait for DAD 22203433Sume sleep $(($(${SYSCTL_N} net.inet6.ip6.dad_count) + 1)) 23203433Sume} 24203433Sume 25203433Sumeload_rc_config $name 26203433Sumerun_rc_command "$1" 27