25 lines
371 B
Bash
Executable File
25 lines
371 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $NetBSD: rtsold,v 1.1.1.1 2000/03/10 11:53:24 lukem Exp $
|
|
#
|
|
|
|
# PROVIDE: rtsold
|
|
# REQUIRE: daemon
|
|
|
|
. /etc/rc.subr
|
|
. /etc/rc.conf
|
|
|
|
name="rtsold"
|
|
command="/usr/sbin/${name}"
|
|
start_precmd="rtsold_precmd"
|
|
|
|
rtsold_precmd()
|
|
{
|
|
if [ "$ip6mode" != "autohost" ]; then
|
|
warn "\$ip6mode must be set to 'autohost' to use ${name}."
|
|
return 1
|
|
fi
|
|
}
|
|
|
|
run_rc_command "$1"
|