[yast-commit] r64548 - in /trunk/nfs-client: ./ src/nfs.ycp
Author: jreidinger
Date: Wed Jun 22 14:49:17 2011
New Revision: 64548
URL: http://svn.opensuse.org/viewcvs/yast?rev=64548&view=rev
Log:
allow to set version of nfs on command line (bnc#681275)
Modified:
trunk/nfs-client/ (props changed)
trunk/nfs-client/src/nfs.ycp
Modified: trunk/nfs-client/src/nfs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/nfs-client/src/nfs.ycp?rev=64548&r1=64547&r2=64548&view=diff
==============================================================================
--- trunk/nfs-client/src/nfs.ycp (original)
+++ trunk/nfs-client/src/nfs.ycp Wed Jun 22 14:49:17 2011
@@ -93,6 +93,14 @@
return false;
}
+ string type = options["type"]:"nfs";
+ if (type != "nfs" && type != "nfs4")
+ {
+ Report::Error (_("Unknown value for option \"type\"."));
+ return false;
+ }
+ options["vfstype"] = type;
+
nfs_entries = add (nfs_entries, (map
participants (1)
-
jreidinger@svn2.opensuse.org