ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/CWMServiceStart.ybc

YaST bytecode 1.4.0CWMServiceStart"CWMServiceStart.ycpCWMModeProductFeaturesServiceservice_is_running	service_is_stopped	last_statusUpdateServiceStatusWidget		UpdateLdapWidget	

HandleLdap	
AutoStartInit		AutoStartStore		
AutoStartInitWrapper	AutoStartStoreWrapper	AutoStartHelpTemplate	AutoStartHelpXinetdTemplate	
AutoStartHelp	AutoStartXinetdHelp	CreateAutoStartWidget		StartStopHandle
		
StartStopInit		StartStopHandleWrapper
	StartStopInitWrapper	StartStopHelpTemplate	
StartStopHelp	CreateStartStopWidget		LdapInit		
LdapHandle
		LdapInitWrapper	LdapHandleWrapper
	EnableLdapHelpTemplate	 EnableLdapHelp	!CreateLdapWidget		twidget	key	widget	key	event

key	key	eventsettings	`widget	key	eventwidget	key	key	eventkey	restart_displayedrestart_displayedsettings	Awidget	key	Lwidget	key	event[key	fkey	eventn  z!!settings	#3UIChangeWidget

QueryWidget


ReplaceWidget
WidgetExists
0base3CWMGetProcessedWidget	3Modeconfig3ProductFeatures3ServiceStatus	Restart	Stop	$$ $%%.widget	(/!-id_cwm_service_status_rp-0(142,3id_cwm_start_service_nowEnabled,4id_cwm_stop_service_nowEnabled,6id_cwm_service_status_rpLabelUnavailablebase49status$:	
service_id(;4<,=id_cwm_start_service_nowEnabled!,@id_cwm_stop_service_nowEnabled,Cid_cwm_service_status_rpLabel&I%R	widget	get_use_ldapuse_ldap(S!-id
_cwm_use_ldap-T$Uget_use_ldap$W!,Xid
_cwm_use_ldapValue%`
widget	event_id(a
_cwm_use_ldap4bset_use_ldapuse_ldap$cset_use_ldap$eid
_cwm_use_ldapValue,f!,g	%tget_auto_start
auto_start(u!-id_cwm_service_startup4v,w	
y2error	
*Widget _cwm_service_startup does not exist-x$zget_service_auto_start${!,|id_cwm_service_startup
CurrentButton_cwm_startup_auto_cwm_startup_manual(haskeyget_service_start_via_xinetd4start_via_xinetd$get_service_start_via_xinetd(!4,id_cwm_service_startup
CurrentButton_cwm_startup_xinetd%
auto_startset_auto_start(!-id_cwm_service_startup4,	
y2error	
*Widget _cwm_service_startup does not exist-$id_cwm_service_startup
CurrentButton_cwm_startup_auto$set_service_auto_start,!(&&!haskeyset_service_start_via_xinetd4start_via_xinetd$set_service_start_via_xinetd,!id_cwm_service_startup
CurrentButton_cwm_startup_xinetd%
,%,%-<p><b><big>Service Start</big></b><br>
To start the service every time your computer is booted, set
<b>%1</b>. Otherwise set <b>%2</b>.</p>base%-<p><b><big>Service Start</big></b><br>
To start the service every time your computer is booted, set
<b>%1</b>. To start the service via the xinetd daemon, set <b>%3</b>.
Otherwise set <b>%2</b>.</p>base%-		
sformat		
During BootbaseManuallybase%-		
sformat		
During BootbaseManuallybase
Via xinetdbase%help	start_auto_button	start_manual_button	start_xinetd_button	xinetd_availableitemsbootingret	$$start_auto_buttonDuring Bootbase$start_manual_buttonManuallybase$start_xinetd_buttonVia &xinetdbase$!haskeyget_service_start_via_xinetd(#haskeyhelp4$&%	help4(&)$,VBoxVSpacing0.4LeftRadioButtonid_cwm_startup_autooptnotify(344&5addLeftRadioButtonid_cwm_startup_xinetdoptnotify&9addLeftRadioButtonid_cwm_startup_manualoptnotify&<addVSpacing0.4$>VBoxFrame
Service StartbaseLeftRadioButtonGroupid_cwm_service_startup(E!&&haskeyset_service_auto_starthaskeyget_service_auto_start4G&HVBox&I$L	unionwidgetcustom
custom_widgethelpinit
store-T%`event_id$aID(b_cwm_start_service_now4c(dhaskeystart_now_action4estart_now_func$f	start_now_action,g!	4j,k	
service_id,msleep(o_cwm_stop_service_now4p(qhaskeystop_now_action4r
stop_now_func$s	stop_now_action,t!	4w,x	
service_id,zsleep(|_cwm_save_settings_now4}func$~save_now_action,!,sleep,-%&&service_running_labelService is runningbase&service_not_running_labelService is not runningbase,%-%,%help	$t<p><b><big>Switch On or Off</big></b><br>
To start or stop the service immediately, use 
<b>%1</b> or <b>%2</b>.</p>base(4&+			O<p>To save all changes and restart the
service immediately, use <b>%3</b>.</p>
base-%-		
sformat		
Start the Service NowbaseStop the Service Nowbase$Save Changes and Restart Service Nowbase%help	start_now_button	stop_now_button	save_now_button	display_save_nowsave_now_button_termimmediate_actionsret	$$start_now_button&Start the Service Nowbase$stop_now_buttonS&top the Service Nowbase$save_now_button%S&ave Changes and Restart Service Nowbase$haskeysave_now_action(haskeyhelp4&	help4&$	
PushButtonid_cwm_save_settings_nowopthstretchVBox$VBoxFrameSwitch On and OffbaseLeftHSquashVBoxHBoxLabelCurrent Status: baseReplacePointid_cwm_service_status_rpLabelHStretch
PushButtonid_cwm_start_service_nowopthstretch
PushButtonid_cwm_stop_service_nowopthstretch(%!haskey
service_id4&&'VBox&($+	unionwidgetcustom
custom_widgethelpinithandle
handle_events	timeout_cwm_start_service_now_cwm_stop_service_now_cwm_save_settings_now(5haskey
service_id'6
ui_timeout-7%A,B	%Lret$MID(N
_cwm_use_ldap4O,P
-Q-S%[,\%f-g%n-q}<p><b><big>LDAP Support</big></b><br>
To store the settings in LDAP instead of native configuration files,
set <b>%1</b>.</p>base%z -{		
sformat		
LDAP Support Activebase%!help	use_ldap_checkbox	
ldap_settingsret	$$use_ldap_checkbox&LDAP Support Activebase(haskeyhelp4&	help4& $VBoxVSpacingLeftCheckBoxid
_cwm_use_ldapoptnotify(!&&haskeyget_use_ldaphaskeyset_use_ldap4&VBox&$	unionwidgetcustom
custom_widgethelpinithandle
handle_events	
_cwm_use_ldap-

ACC SHELL 2018