[yast-commit] r66614 - /branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp
![](https://seccdn.libravatar.org/avatar/1221572c74a1df78a3aa2625b979eb21.jpg?s=120&d=mm&r=g)
Author: gs Date: Thu Oct 27 11:27:10 2011 New Revision: 66614 URL: http://svn.opensuse.org/viewcvs/yast?rev=66614&view=rev Log: set interface NOT_CONFIGURED if configuration isn't available Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/fcoe-c... ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp Thu Oct 27 11:27:10 2011 @@ -443,7 +443,9 @@ if ( !FileUtils::Exists( file_name ) ) { y2warning( "Cannot read config file for %1 in /etc/fcoe", vlan_device_name ); - Popup::Warning( sformat(_("Cannot read config file for %1"), vlan_device_name) ); + Popup::Warning( sformat(_("Cannot read config file for %1. +You may edit the settings and recreate the FCoE +VLAN interface to get a valid configuration."), vlan_device_name) ); return status_map; } device = device_name; @@ -667,6 +669,11 @@ if ( fcoe_vlan_interface != "" ) { status_map = GetFcoeStatus( fcoe_vlan_interface, card["dev_name"]:"" ); + if ( status_map == $[] ) + { + // the interface isn't configured correctly + fcoe_vlan_interface = NOT_CONFIGURED; + } } else { -- 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