[yast-commit] r66623 - /trunk/fcoe-client/src/FcoeClient.ycp
Author: gs Date: Thu Oct 27 13:41:07 2011 New Revision: 66623 URL: http://svn.opensuse.org/viewcvs/yast?rev=66623&view=rev Log: set interface not configured if configuration is missing Modified: trunk/fcoe-client/src/FcoeClient.ycp Modified: trunk/fcoe-client/src/FcoeClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/src/FcoeClient.ycp?rev=66623&r1=66622&r2=66623&view=diff ============================================================================== --- trunk/fcoe-client/src/FcoeClient.ycp (original) +++ trunk/fcoe-client/src/FcoeClient.ycp Thu Oct 27 13:41:07 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