amd revision 78344
178344Sobrien#!/bin/sh 278344Sobrien# 378344Sobrien# $NetBSD: amd,v 1.6 2000/09/19 13:04:38 lukem Exp $ 478344Sobrien# 578344Sobrien 678344Sobrien# PROVIDE: amd 778344Sobrien# REQUIRE: rpcbind mountall ypbind 878344Sobrien 978344Sobrien. /etc/rc.subr 1078344Sobrien 1178344Sobrienname="amd" 1278344Sobrienrcvar=$name 1378344Sobriencommand="/usr/sbin/${name}" 1478344Sobrienload_rc_config $name 1578344Sobrien 1678344Sobriencommand_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid' 1778344Sobrienrequired_files="/etc/amd.conf" 1878344Sobrienrequired_dirs="$amd_dir" 1978344Sobrienrequired_vars="rpcbind" 2078344Sobrien 2178344Sobrienrun_rc_command "$1" 22