[yast-commit] r52703 - /trunk/storage/storage/src/include/ep-nfs.ycp

Author: kmachalkova Date: Wed Oct 29 18:08:02 2008 New Revision: 52703 URL: http://svn.opensuse.org/viewcvs/yast?rev=52703&view=rev Log: Initialize non-fstab settings of NFS on creating NFS panel - this also covers needed packages installation (#436897) Modified: trunk/storage/storage/src/include/ep-nfs.ycp Modified: trunk/storage/storage/src/include/ep-nfs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-nf... ============================================================================== --- trunk/storage/storage/src/include/ep-nfs.ycp (original) +++ trunk/storage/storage/src/include/ep-nfs.ycp Wed Oct 29 18:08:02 2008 @@ -14,7 +14,7 @@ //boolean initialized = false; map <string, map> target_map = $[]; - map <string, integer> index = $[]; + boolean already_initialized = false; void CreateNfsMainPanel(any user_data) { @@ -74,6 +74,13 @@ y2milestone("Found NFS shares: %1", nfs_list); + if( !Stage::initial() && !already_initialized ) + { + y2milestone("Reading NFS settings"); + WFM::CallFunction("nfs-client4part", ["Read"]); + already_initialized = true; + } + } @@ -170,6 +177,9 @@ default: break; } + + //FIXME: Take care that non-fstab settings of nfs-client + //(firewall, sysconfig, idmapd) get written on closing partitioner } void CreateNfsPanel(any user_data) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org