rtsold revision 230099
1203433Sume#!/bin/sh 2203433Sume# 3203433Sume# $FreeBSD: head/etc/rc.d/rtsold 230099 2012-01-14 02:18:41Z dougb $ 4203433Sume# 5203433Sume 6203433Sume# PROVIDE: rtsold 7203433Sume# REQUIRE: netif 8203433Sume# BEFORE: NETWORKING 9204427Sume# KEYWORD: nojail shutdown 10203433Sume 11203433Sume. /etc/rc.subr 12203433Sume 13203433Sumename="rtsold" 14230099Sdougbrcvar="rtsold_enable" 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