[yast-commit] r64913 - /branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp

Author: gs Date: Wed Jul 20 12:11:54 2011 New Revision: 64913 URL: http://svn.opensuse.org/viewcvs/yast?rev=64913&view=rev Log: set auto start of services correctly Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.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/complex.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/complex.ycp Wed Jul 20 12:11:54 2011 @@ -274,7 +274,7 @@ boolean create_ifcfg = false; string ifcfg_file = ""; - if ( Stage::initial() ) // first stage of installation - create and start FCoE VLAN interface + if ( Stage::initial() ) // first stage of installation - create and start FCoE VLAN interface { // headline of a popup: creating and starting Fibre Channel over Ethernet boolean ret = Popup::YesNoHeadline( _("Creating and starting FCoE on detected VLAN device"), @@ -431,21 +431,16 @@ void StoreServicesDialog (string id, map event) { y2milestone( "Store services dialog" ); - boolean fcoe_auto = (boolean)UI::QueryWidget( `id ("fcoe_startup_auto"), `Value ); - if ( fcoe_auto ) - { - FcoeClient::SetStartStatus( "fcoe", true ); - y2milestone( "Setting auto start of FCoE to true"); - } + boolean fcoe_auto = (boolean)UI::QueryWidget( `id ("fcoe_startup_auto"), `Value ); + FcoeClient::SetStartStatus( "fcoe", fcoe_auto ); + y2milestone ("Setting auto start of service 'fcoe' to: %1", (fcoe_auto?"true":"false") ); + boolean lldpad_auto = (boolean)UI::QueryWidget( `id ("lldpad_startup_auto"), `Value ); - if ( lldpad_auto ) - { - FcoeClient::SetStartStatus( "lldpad", true ); - y2milestone( "Setting auto start of lldpad to true"); - } + FcoeClient::SetStartStatus( "lldpad", lldpad_auto ); + y2milestone( "Setting auto start of service 'lldpad' to: %1", (lldpad_auto?"true":"false")); } void StoreInterfacesDialog (string id, map event) -- 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