radhermit 14/12/22 19:24:28 Added: nfsclient.confd nfsclient.initd Log: Version bump and replace nfsmount script with nfsclient/netmount combination (bug #529280). (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path 1.1 net-fs/nfs-utils/files/nfsclient.confd file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfsclient.confd?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfsclient.confd?rev=1.1&content-type=text/plain Index: nfsclient.confd =================================================================== # You will need to set the dependencies in the nfsclient script to match # the network configuration tools you are using. This should be done in # this file by following the examples below, and not by changing the # service script itself. See /etc/conf.d/netmount for more examples. # # This is a safe default. rc_after="net" 1.1 net-fs/nfs-utils/files/nfsclient.initd file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfsclient.initd?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfsclient.initd?rev=1.1&content-type=text/plain Index: nfsclient.initd =================================================================== #!/sbin/runscript # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsclient.initd,v 1.1 2014/12/22 19:24:28 radhermit Exp $ [ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs depend() { local myneed="" if [ -e /etc/fstab ] ; then fstabinfo -t nfs4 -q && myneed="$myneed rpc.idmapd" fstabinfo -t nfs -q && myneed="$myneed rpc.statd" fstabinfo -o -t nfs,nfs4 | while read opts; do case $opts in *sec=krb*|*sec=spkm*) myneed="$myneed rpc.gssd" ;; esac done fi before netmount config /etc/fstab need portmap ${myneed} provide nfsmount use ypbind dns } start() { if [ -x /usr/sbin/sm-notify ] ; then ebegin "Starting NFS sm-notify" /usr/sbin/sm-notify ${OPTS_SMNOTIFY} eend $? fi # Make sure nfs support is loaded in the kernel #64709 if [ -e /proc/modules ] && ! grep -qs 'nfs$' /proc/filesystems ; then modprobe -q nfs fi return 0 }
