[yast-commit] r64174 - in /trunk/fcoe-client/src: FcoeClient.ycp inst_fcoe-client.ycp
Author: gs Date: Tue May 31 14:18:27 2011 New Revision: 64174 URL: http://svn.opensuse.org/viewcvs/yast?rev=64174&view=rev Log: add ResetNetworkCards() Modified: trunk/fcoe-client/src/FcoeClient.ycp trunk/fcoe-client/src/inst_fcoe-client.ycp Modified: trunk/fcoe-client/src/FcoeClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/src/FcoeClient.ycp?rev=64174&r1=64173&r2=64174&view=diff ============================================================================== --- trunk/fcoe-client/src/FcoeClient.ycp (original) +++ trunk/fcoe-client/src/FcoeClient.ycp Tue May 31 14:18:27 2011 @@ -572,6 +572,11 @@ network_interfaces[row] = card; } +global void ResetNetworkCards() +{ + network_interfaces = []; +} + // // Read /etc/fcoe/config // Modified: trunk/fcoe-client/src/inst_fcoe-client.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/src/inst_fcoe-client.ycp?rev=64174&r1=64173&r2=64174&view=diff ============================================================================== --- trunk/fcoe-client/src/inst_fcoe-client.ycp (original) +++ trunk/fcoe-client/src/inst_fcoe-client.ycp Tue May 31 14:18:27 2011 @@ -41,20 +41,22 @@ // create /etc/fcoe SCR::Execute(.target.bash, "mkdir -p /etc/fcoe" ); - // TODO: check what is additional needed // - load any modules ? // // FcoeClient::CheckInstalledPackages() not needed in inst-sys // FcoeClient::DetectStartStatus() doesn't make sense in inst-sys -// TODO: check for running network - makes sense here ??? +// check for running network if( !NetworkService::RunningNetworkPopup() ) { y2error( "Network NOT set up" ); return nil; } +// reset global values +FcoeClient::ResetNetworkCards(); + // start services fcoe and lldpad success = FcoeClient::ServiceStatus(); if ( !success ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn2.opensuse.org