summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-07-26 01:02:07 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-07-26 01:02:07 +0000
commite1465db2f92c346a4027fa8bb2bd9c8daf77ce10 (patch)
treea24d8f20cd44ca0c755eed6bdb8c4a137d4c86af
parentmedia-libs/freeverb3: Add experimental patch for Audacious 2.4_beta1 support (diff)
downloadgentoo-2-e1465db2f92c346a4027fa8bb2bd9c8daf77ce10.tar.gz
gentoo-2-e1465db2f92c346a4027fa8bb2bd9c8daf77ce10.tar.bz2
gentoo-2-e1465db2f92c346a4027fa8bb2bd9c8daf77ce10.zip
Fix nfs init script dependency generation for kerberos exports.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r--net-fs/nfs-utils/ChangeLog5
-rwxr-xr-xnet-fs/nfs-utils/files/nfs.initd6
2 files changed, 7 insertions, 4 deletions
diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog
index 00fc5b29cd9e..a548d4b33533 100644
--- a/net-fs/nfs-utils/ChangeLog
+++ b/net-fs/nfs-utils/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-fs/nfs-utils
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.169 2010/07/23 01:33:58 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.170 2010/07/26 01:02:06 flameeyes Exp $
+
+ 26 Jul 2010; Diego E. Pettenò <flameeyes@gentoo.org> files/nfs.initd:
+ Fix nfs init script dependency generation for kerberos exports.
*nfs-utils-1.2.2-r2 (23 Jul 2010)
diff --git a/net-fs/nfs-utils/files/nfs.initd b/net-fs/nfs-utils/files/nfs.initd
index 6f6ba98ceb94..20a1f80a8a2f 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-2009 Gentoo Foundation
+# Copyright 1999-2010 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.19 2009/05/30 22:01:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.20 2010/07/26 01:02:07 flameeyes Exp $
opts="reload"
@@ -18,7 +18,7 @@ smnotify=/usr/sbin/sm-notify
depend() {
local myneed=""
if [ -e /etc/exports ] ; then
- if awk '!/^[[:space:]]*#/ && $2 ~ /sec=/ { exit 0 } END { exit 1 }' /etc/exports ; then
+ if awk '!/^[[:space:]]*#/ && $2 ~ /sec=/ { found=1; nextfile } END { exit !found }' /etc/exports ; then
myneed="${myneed} rpc.svcgssd"
fi
fi