2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2000-05-29 10:53:03 +04:00
|
|
|
# $NetBSD: amd,v 1.4 2000/05/29 06:53:03 tron Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: amd
|
2000-04-16 01:14:48 +04:00
|
|
|
# REQUIRE: portmap mountall ypbind
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="amd"
|
|
|
|
command="/usr/sbin/${name}"
|
2000-05-29 10:53:03 +04:00
|
|
|
load_rc_config $name
|
|
|
|
|
2000-03-10 14:53:23 +03:00
|
|
|
command_args='-p -a '$amd_dir' `sed s/#.*$// <'$amd_master'` >/var/run/amd.pid'
|
|
|
|
required_files="$amd_master"
|
|
|
|
required_dirs="$amd_dir"
|
|
|
|
required_vars="portmap"
|
|
|
|
|
|
|
|
run_rc_command "$1"
|