summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2006-04-11 09:02:07 +0000
committerflz <flz@FreeBSD.org>2006-04-11 09:02:07 +0000
commit7e4f15ea33b08b4b3167657a2f8c94d50a560744 (patch)
tree57ed7f858819d24cafb7e94993670eb10541d3c5 /etc
parentbb0676a40153894c0a60a31b35d96a75e376a907 (diff)
downloadFreeBSD-src-7e4f15ea33b08b4b3167657a2f8c94d50a560744.zip
FreeBSD-src-7e4f15ea33b08b4b3167657a2f8c94d50a560744.tar.gz
- 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 <fmysh@iijmio-mail.jp> Approved by: cperciva (mentor) MFC after: 3 days
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf1
-rwxr-xr-xetc/rc.d/amd2
2 files changed, 2 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 42ae984..84e33b9 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 df010c8..9cb527c 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
OpenPOWER on IntegriCloud