From 4016cfa64c838b6decf9c2d8a981049bd29d2e1d Mon Sep 17 00:00:00 2001 From: Florent Thoumie Date: Tue, 11 Apr 2006 09:02:07 +0000 Subject: [PATCH] - Fix amd startup when amd is installed from ports. - Add the according amd_program default value in defaults. PR: conf/82738 Submitted by: TAOKA Fumiyoshi Approved by: cperciva (mentor) MFC after: 3 days --- etc/defaults/rc.conf | 1 + etc/rc.d/amd | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 42ae9845b09f..84e33b9d3f23 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -229,6 +229,7 @@ ftpd_flags="" # Additional flags to stand-alone ftpd. ### Network daemon (NFS): All need rpcbind_enable="YES" ### amd_enable="NO" # Run amd service with $amd_flags (or NO). +amd_program="/usr/sbin/amd" # path to amd, if you want a different one. amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map" amd_map_program="NO" # Can be set to "ypcat -k amd.master" nfs_client_enable="NO" # This host is an NFS client (or NO). diff --git a/etc/rc.d/amd b/etc/rc.d/amd index df010c8f4148..9cb527ccff92 100755 --- a/etc/rc.d/amd +++ b/etc/rc.d/amd @@ -5,7 +5,7 @@ # # PROVIDE: amd -# REQUIRE: rpcbind ypbind nfsclient cleanvar +# REQUIRE: rpcbind ypbind nfsclient cleanvar ldconfig # BEFORE: DAEMON # KEYWORD: nojail