diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-27 01:41:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-27 01:41:55 +0000 |
commit | f72528e18ab410f4723b0910157117dfedc49daf (patch) | |
tree | 208583e9bce925be67ea6975b4ae1b910b65ae2d /net-fs/nfs-utils/files | |
parent | EAPI=2; a bit better compile; remove -Werror for bug #260186 (diff) | |
download | historical-f72528e18ab410f4723b0910157117dfedc49daf.tar.gz historical-f72528e18ab410f4723b0910157117dfedc49daf.tar.bz2 historical-f72528e18ab410f4723b0910157117dfedc49daf.zip |
Fixup bashism in init.d script #260149 by Timothy Redaelli.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-fs/nfs-utils/files')
-rwxr-xr-x | net-fs/nfs-utils/files/nfs.initd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-fs/nfs-utils/files/nfs.initd b/net-fs/nfs-utils/files/nfs.initd index 6021326ad84e..78de312df467 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 # 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.17 2009/01/31 22:19:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.18 2009/02/27 01:41:55 vapier Exp $ opts="reload" @@ -30,7 +30,8 @@ depend() { mkdir_nfsdirs() { local d - for d in /var/lib/nfs/{rpc_pipefs,v4recovery,v4root} ; do + for d in rpc_pipefs v4recovery v4root ; do + d="/var/lib/nfs/${d}" [ ! -d "${d}" ] && mkdir -p "${d}" done } |