Sync usage with man page.
[netbsd-mini2440.git] / etc / rc.d / rtsold
blob5262a045f85c126781dd2eea1b8b86e01a91e363
1 #!/bin/sh
3 # $NetBSD: rtsold,v 1.6 2004/08/13 18:08:03 mycroft Exp $
6 # PROVIDE: rtsold
7 # REQUIRE: network mountcritlocal
8 # BEFORE: NETWORKING
10 $_rc_subr_loaded . /etc/rc.subr
12 name="rtsold"
13 rcvar=$name
14 command="/usr/sbin/${name}"
15 start_precmd="rtsold_precmd"
17 rtsold_precmd()
19 if [ "$ip6mode" != "autohost" ]; then
20 warn "\$ip6mode must be set to 'autohost' to use ${name}."
21 return 1
25 load_rc_config $name
26 run_rc_command "$1"