diff options
author | trasz <trasz@FreeBSD.org> | 2015-01-01 15:48:12 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-01-01 15:48:12 +0000 |
commit | f0fc25ae4bf78ea39a5f50e3a429eb14ece55fc7 (patch) | |
tree | 2d80b52a926426b1dfc9df97e1e6d014e1f449c9 | |
parent | 8a977bdac721759070111c00c9cab5f72eb5d831 (diff) | |
download | FreeBSD-src-f0fc25ae4bf78ea39a5f50e3a429eb14ece55fc7.zip FreeBSD-src-f0fc25ae4bf78ea39a5f50e3a429eb14ece55fc7.tar.gz |
MFC r274965:
Make it possible to specify flags for autofs daemons in rc.conf.
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | etc/defaults/rc.conf | 5 | ||||
-rw-r--r-- | etc/rc.d/automount | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index c634c26..e9638f5 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -326,7 +326,10 @@ 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" -autofs_enable="NO" # Run automountd(8) +autofs_enable="NO" # Run autofs daemons. +automount_flags="" # Flags to automount(8) (if autofs enabled). +automountd_flags="" # Flags to automountd(8) (if autofs enabled). +autounmountd_flags="" # Flags to autounmountd(8) (if autofs enabled). nfs_client_enable="NO" # This host is an NFS client (or NO). nfs_access_cache="60" # Client cache timeout in seconds nfs_server_enable="NO" # This host is an NFS server (or NO). diff --git a/etc/rc.d/automount b/etc/rc.d/automount index 63bda42..c394694 100644 --- a/etc/rc.d/automount +++ b/etc/rc.d/automount @@ -18,7 +18,7 @@ required_modules="autofs" automount_start() { - /usr/sbin/automount + /usr/sbin/automount ${automount_flags} } automount_stop() |