This commit is contained in:
parent
6e42835b65
commit
4d87a756de
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 08:33:13 CEST 2008 - nfbrown@suse.de
|
||||
|
||||
- nfs.init - parse /etc/fstab correctly. The first two fields
|
||||
are "what where", not "where what" (bnc#364513)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 27 17:48:35 CEST 2008 - schwab@suse.de
|
||||
|
||||
|
@ -15,7 +15,7 @@ BuildRequires: e2fsprogs-devel gcc-c++ krb5-devel libevent libgssglue-devel lib
|
||||
Url: http://nfs.sourceforge.net
|
||||
Summary: Support Utilities for Kernel nfsd
|
||||
Version: 1.1.2
|
||||
Release: 11
|
||||
Release: 12
|
||||
Group: Productivity/Networking/NFS
|
||||
License: GPL v2 or later
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -257,6 +257,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc nfs/*.html nfs/*.ps linux-nfs/* README.NFSv4
|
||||
|
||||
%changelog
|
||||
* Tue Jul 15 2008 nfbrown@suse.de
|
||||
- nfs.init - parse /etc/fstab correctly. The first two fields
|
||||
are "what where", not "where what" (bnc#364513)
|
||||
* Fri Jun 27 2008 schwab@suse.de
|
||||
- Use autoreconf.
|
||||
* Fri Jun 06 2008 nfbrown@suse.de
|
||||
|
14
nfs.init
14
nfs.init
@ -34,8 +34,8 @@ NEED_GSSD=no
|
||||
nfs=no
|
||||
NEED_LDCONFIG=no
|
||||
|
||||
while read where what type options rest ; do
|
||||
case "$where" in
|
||||
while read what where type options rest ; do
|
||||
case "$what" in
|
||||
\#*|"") ;;
|
||||
*) case "$options" in
|
||||
*noauto*) ;;
|
||||
@ -95,8 +95,8 @@ mount_rpc_pipefs() {
|
||||
}
|
||||
|
||||
mount_usr() {
|
||||
while read where what type options rest ; do
|
||||
case "$where" in
|
||||
while read what where type options rest ; do
|
||||
case "$what" in
|
||||
\#*|"") ;;
|
||||
*) case "$options" in
|
||||
*noauto*) ;;
|
||||
@ -240,13 +240,13 @@ case "$1" in
|
||||
status)
|
||||
echo -n "Checking for mounted nfs shares (from /etc/fstab):"
|
||||
if test "$nfs" = "yes" ; then
|
||||
while read where what type options rest ; do
|
||||
case "$where" in
|
||||
while read what where type options rest ; do
|
||||
case "$what" in
|
||||
\#*|"") ;;
|
||||
*) case "$options" in
|
||||
*noauto*) ;;
|
||||
*) if test "$type" = "nfs" -o "$type" = "nfs4" ; then
|
||||
grep -q "$where $what nfs" /proc/mounts || rc_failed 3
|
||||
grep -q "$what $where nfs" /proc/mounts || rc_failed 3
|
||||
fi ;;
|
||||
esac
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user