diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-12-30 17:43:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-12-30 17:43:27 +0000 |
commit | b6b4b72f3fb8ee7fffd4bc13805b13f4a231e50a (patch) | |
tree | caac44d41c3e1498251dffaabb120d132999b06d | |
parent | also install libxtc.h (diff) | |
download | gentoo-2-b6b4b72f3fb8ee7fffd4bc13805b13f4a231e50a.tar.gz gentoo-2-b6b4b72f3fb8ee7fffd4bc13805b13f4a231e50a.tar.bz2 gentoo-2-b6b4b72f3fb8ee7fffd4bc13805b13f4a231e50a.zip |
add appropriate config lines to depend()
(Portage version: 2.1.4_rc11)
-rwxr-xr-x | net-fs/nfs-utils/files/nfs.initd | 3 | ||||
-rwxr-xr-x | net-fs/nfs-utils/files/nfsmount.initd | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/net-fs/nfs-utils/files/nfs.initd b/net-fs/nfs-utils/files/nfs.initd index 886119fc620c..93480ddd6752 100755 --- a/net-fs/nfs-utils/files/nfs.initd +++ b/net-fs/nfs-utils/files/nfs.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.7 2007/12/29 09:33:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.8 2007/12/30 17:43:27 vapier Exp $ opts="reload" @@ -20,6 +20,7 @@ depend() { if ! awk '!/^[[:space:]]*#/ && $2 ~ /sec=/ { exit 1 }' /etc/exports ; then myneed="${myneed} rpc.gssd" fi + config /etc/exports need portmap rpc.statd ${myneed} use ypbind net dns rpc.rquotad rpc.idmapd rpc.gssd after quota diff --git a/net-fs/nfs-utils/files/nfsmount.initd b/net-fs/nfs-utils/files/nfsmount.initd index 6d9e1b3446f8..2baa2e03a022 100755 --- a/net-fs/nfs-utils/files/nfsmount.initd +++ b/net-fs/nfs-utils/files/nfsmount.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd,v 1.5 2007/12/29 09:46:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd,v 1.6 2007/12/30 17:43:27 vapier Exp $ [ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs @@ -11,6 +11,7 @@ depend() { local ret=$? [ ${ret} -ne 0 ] && myneed="${myneed} rpc.idmapd" [ ${ret} -eq 1 ] && myneed="${myneed} rpc.gssd" + config /etc/fstab need net portmap rpc.statd ${myneed} use ypbind dns rpc.idmapd rpc.gssd } |