gcc50: Build lto-wrapper even if buildworld is not LTO enabled.
[dragonfly.git] / etc / rc.d / rtsold
blobdc1114824cc6c7fc6407a1f67ddae9081ca1a363
1 #!/bin/sh
3 # $NetBSD: rtsold,v 1.5 2002/03/22 04:34:00 thorpej Exp $
4 # $FreeBSD: src/etc/rc.d/rtsold,v 1.2 2002/06/13 22:14:36 gordon Exp $
5 # $DragonFly: src/etc/rc.d/rtsold,v 1.4 2005/11/19 21:47:32 swildner Exp $
8 # PROVIDE: rtsold
9 # REQUIRE: DAEMON
10 # BEFORE: LOGIN
12 . /etc/rc.subr
14 name="rtsold"
15 rcvar=`set_rcvar`
16 command="/usr/sbin/${name}"
17 start_postcmd="rtsold_poststart"
19 rtsold_poststart()
21 # wait for DAD
22 sleep $(($(${SYSCTL_N} net.inet6.ip6.dad_count) + 1))
25 load_rc_config $name
26 run_rc_command "$1"