Make it possible to specify flags for autofs daemons in rc.conf.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2014-11-24 13:02:39 +00:00
parent a5cb3e8dd0
commit c74915e08d
2 changed files with 5 additions and 2 deletions

View File

@ -317,7 +317,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).

View File

@ -18,7 +18,7 @@ required_modules="autofs"
automount_start()
{
/usr/sbin/automount
/usr/sbin/automount ${automount_flags}
}
automount_stop()