Fix the amd invocation to honor the amd_flags setting.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
This commit is contained in:
John Polstra 2002-06-24 19:50:56 +00:00
parent 558685292a
commit c0c9b4e674
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98774

View File

@ -17,8 +17,8 @@ command="/usr/sbin/${name}"
case `${CMD_OSTYPE}` in
FreeBSD)
start_cmd="echo 'Starting amd.'; /usr/sbin/${name} &"
start_precmd="amd_precmd"
command_args="&"
;;
NetBSD)
command_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid'