Sync usage with man page.
[netbsd-mini2440.git] / etc / rc.d / amd
blob0df59b9cc5521ff444259f919632d4f7b9ef05b3
1 #!/bin/sh
3 # $NetBSD: amd,v 1.14 2007/04/23 14:27:30 tron Exp $
6 # PROVIDE: amd
7 # REQUIRE: rpcbind mountall ypbind
8 # BEFORE: DAEMON
10 $_rc_subr_loaded . /etc/rc.subr
12 name="amd"
13 rcvar=$name
14 command="/usr/sbin/${name}"
15 reload_cmd="/usr/sbin/amq -f"
16 extra_commands="reload"
18 load_rc_config $name
20 command_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid'
21 required_files="/etc/amd.conf"
22 required_dirs="$amd_dir"
23 required_vars="rpcbind"
25 load_rc_config_var rpcbind rpcbind
27 run_rc_command "$1"