Author: mzugec Date: Wed Mar 3 10:16:06 2010 New Revision: 61103 URL: http://svn.opensuse.org/viewcvs/yast?rev=61103&view=rev Log: start cups service when export AY profile (bnc#582680) Modified: branches/SuSE-Code-11-SP1-Branch/printer/VERSION branches/SuSE-Code-11-SP1-Branch/printer/package/yast2-printer.changes branches/SuSE-Code-11-SP1-Branch/printer/src/Printer.ycp Modified: branches/SuSE-Code-11-SP1-Branch/printer/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/printer/VERSION?rev=61103&r1=61102&r2=61103&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/printer/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/printer/VERSION Wed Mar 3 10:16:06 2010 @@ -1 +1 @@ -2.17.62 +2.17.63 Modified: branches/SuSE-Code-11-SP1-Branch/printer/package/yast2-printer.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/printer/package/yast2-printer.changes?rev=61103&r1=61102&r2=61103&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/printer/package/yast2-printer.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/printer/package/yast2-printer.changes Wed Mar 3 10:16:06 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Mar 3 10:15:51 CET 2010 - mzugec@suse.cz + +- start cups service when export AY profile (bnc#582680) +- 2.17.63 + +------------------------------------------------------------------- Mon Mar 1 14:00:30 CET 2010 - mzugec@suse.de - fixed creating valid autoyast profile (bnc#583565) Modified: branches/SuSE-Code-11-SP1-Branch/printer/src/Printer.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/printer/src/Printer.ycp?rev=61103&r1=61102&r2=61103&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/printer/src/Printer.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/printer/src/Printer.ycp Wed Mar 3 10:16:06 2010 @@ -39,6 +39,8 @@ import "Summary"; import "Popup"; import "Printerlib"; +import "Mode"; +import "Service"; /** * Prototypes @@ -693,6 +695,12 @@ sleep( 500 ); if( Abort() ) return false; Progress::Finish(); + + if (Mode::mode() == "autoinst_config"){ + y2milestone("Starting CUPS service because of autoyast configuration."); + if (Service::Status("cups") != 0) Service::Start("cups"); + } + return true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org