ACC SHELL

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

YaST bytecode 1.4.0	NtpClientI
NtpClient.ycp	Directory	FileUtilsLanguageMessageModeNetworkInterfaces
PackageSystemPopup	Progress
ReportServiceSLPAPI
StageStringSummarySuSEFirewallFileChanges
AbortFunctionmodified
write_onlyntp_records	restrict_map		run_servicesynchronize_time
sync_interval	cron_file	service_name	
run_chroot
ntp_policy	selected_indexselected_record	 
ad_controller	!change_firewall"required_packages#firewall_services	$ntp_servers			%
country_names		&
simple_dialog'config_has_been_read(ntp_selected)PolicyIsAuto*PolicyIsNomodify+PolicyIsNonstatic,Abort-countries_already_read.known_countries		/GetAllKnownCountries		0GetCurrentLanguageCode	1MakePoolRecord				2
GetNtpServers			3GetCountryNames		4GetNtpServersByCountry	5ProcessNtpConf6Read7GetUsedNtpServers	8random_pool_servers	9IsRandomServersServiceEnabled:#DeActivateRandomPoolServersFunction;!ActivateRandomPoolServersFunction<Write=Import>Export?Summary	@
TestNtpServer	
ADetectNtpServers	
BgetSyncRecords	CselectSyncRecordDfindSyncRecord		EstoreSyncRecordFdeleteSyncRecordGenableOptionInSyncRecord	HAutoPackages1).4:<AFKPUZbhm  r!!w""|##&&''(())**++//00223344country	terse_output55G6677<88J99R::k;;|<<==Xsettings>>v??@@server		verbosity
AAmethod
BBCC8indexDDNtype	address	EE]FFkindexGG{option	HHK3UI
OpenDialogCloseDialog3SCRReadWriteExecute
RegisterAgent	0
ntp-client3	Directoryvardir	datadir	3	FileUtilsExists	3LanguageGetGivenLanguageCountry		3MessageCannotWriteSettingsTo		CannotAdjustService		CannotReadCurrentSettings	3Modecommandlinenormalinstallation	testsuite3NetworkInterfacesRead3
PackageSystem	Installed	CheckAndInstallPackages	"CheckAndInstallPackagesInteractive	3PopupNotify	3ProgresssetNew					NextStageTitle	3ReportError	3ServiceAdjust		
RunInitScript		Enabled	3SLPAPIFindSrvs			3Stageinitial3String	CutBlanks		3 SummaryAddLine			3!SuSEFirewallReadWrite3"FileChangesStoreFileCheckSum	
CheckFiles	$)$.$4$:	$<
$A$F$K$P"/etc/cron.d/novell.ntp-synchronize$Untp$Z$bauto$h$m
$r $w!$|"	ntp$#	service:ntp$$$%$&$'$(%)-||autoSTATIC *%*-%+-&&STATIC%,(-!-$-$.
%/(!-4&.		eval	SCR::Read.target.ycp+			/country.ycp&-(.&.
(haskey.GB4'.UK.GB	&.					remove.GB-.%0lang	$		SCR::Read.sysconfig.language.RC_LANG-%1CC	location	-address+					tolower		
.pool.ntp.orgcountrylocation%2($4servers		&$
$			SCR::Read.target.ycp+			/ntp_servers.ycp(4,	
y2error	
&Failed to read the list of NTP servers4,	
y2milestone	
%1 known NTP servers readsize&$										listmaps		server	$address	-,				foreach
short_country	country_name	/p		$1'$address	-$%3(%4&	%		eval	SCR::Read
.target.yast2country.ycp(%4
,	
y2error	
Failed to read country names&%
-%%4
country_names		servers			items$
$2(4p		&									filters	o		country	$#1'$address	4'&(3$+						maplists	o		label		l_country	$,location	$-country	(.&/&1	(2&&&3		
sformat		
%1 (%2, %3)(4&&&5&7		
sformat		
	%1 (%2%3)(9-:itemid-<itemid-?%G5confvalue	index
fudge_records		fudge_map		restrict_records	(I'4J,K	
y2milestone	
.Configuration has been read already, skipping.-L$O(P
/etc/ntp.conf&Q	SCR::Read.etc.ntp_conf.all(S4T,U	
y2error	
IFailed to read /etc/ntp.conf, either it doesn't exist or contains no data-V&Y'$Zvalue	$[&\				maplistm	type	address	options	entry	&]+$^	name$_	value$`(a		contains	serverpeer	broadcastbroadcastclientmanycastmanycastclientfudgerestrict4el	$f			splitstring			 	&g			filters	&h	'i&j			mergestring			 $ltypeaddressoptionscomment	comment-r$t			filterm		typefudge$w					listmapmkey	$y	address-z$}			filterm		typerestrict&					listmapmkey	valueopts	$	address$
$			splitstring				options 	(	mask4'mask	''4'mask'options			mergestring			 'comment	comment-&			filterm		typefudge&			filterm		typerestrict&	maplistm(haskey	address4'
fudge_options		addressoptions'
fudge_comment		addresscomment-&				maplistp	(&&	typeserver		regexpmatch			address^127.127.[0-9]+.[0-9]+$4'type__clock--%6
caption	stepssl
have_progress
progress_origpolicy	failedad_ntp_file	crontab	tmp	
postmp2	run_chroot_s	-('-$%Initializing NTP Client Configuration
ntp-client$$$(4, Read network configuration
ntp-clientRead NTP settings
ntp-client Reading network configuration...
ntp-clientReading NTP settings...
ntp-clientFinished
ntp-client(,-(,$,,$		SCR::Read..sysconfig.network.config.NETCONFIG_NTP_POLICY(&,2,3(,-(,$(&&&&!!!		ntp4-&
$+			/ad_ntp_data.ycp(4ad_ntp_data		,	
y2milestone	

Reading %1$			SCR::Read.target.ycp& ads	( 4,	
y2milestone	
>Got %1 for ntp sync, deleting %2, since it is no longer needed ,SCR::Execute.target.remove(&&!!	
/etc/ntp.conf&,5$		SCR::Read.cron,
	
y2milestone	

CRONTAB %1$		eventsactive0&	1&
		eventsminute*/5,	
y2milestone	
	MINUTE %1	$
			regexppos			[0-9]+$			substring			

&	tointeger,	
y2milestone	
SYNC_INTERVAL %1$		SCR::Read .sysconfig.ntp.NTPD_RUN_CHROOTED&yes(4&,	
y2error	
/Failed reading .sysconfig.ntp.NTPD_RUN_CHROOTED(4, (#!4$
progress_orig$%,&,'(*,-*(+4,,-,.Finished
ntp-client,0sleep(2,-2&3-4%<7used_servers	$=	,>		foreachrecord	(?	typeserver&?			add	address-B$J8	0.pool.ntp.org1.pool.ntp.org2.pool.ntp.org%R9needed_servers	ret$T
,U		foreachserver_name	8'V,Y		foreachused_server	7([4['\$`,a		foreachnserver_name	ns_value(b&b-d%k:,l		foreachrandom_pool_server	8&m			filter
one_record	||	typeserver	address%|;store_current_options		$~
,		foreach
one_record	(&&	typeserver	address4one_address	$	address'
'options	options,:&			filter
one_record		typeserver,		foreach
one_server	8one_options	$(haskey4&	options,	
y2milestone	
;Leaving current configuration for server '%1', options '%2'&			addaddresscommentI
# Random pool server, see http://www.pool.ntp.org/ for more information
optionstypeserver%<caption	stepssl
have_progress$Saving NTP Client Configuration
ntp-client$$,sleep$(4, Write NTP settings
ntp-clientRestart NTP daemon
ntp-clientWriting the settings...
ntp-clientRestarting NTP daemon...
ntp-clientFinished
ntp-client(,-(,(4save2	failedconf	,				foreachkey	m	ret	$addresscomment	commenttyperestrictoptions+			+				mask+			 mask 	mask 	options&			add,	
y2milestone	
Writing settings %1$		flatten				maplistr	s1	s2	$comment	commentkindvaluename	typetypevalue+			+				address 	options$(	type__clock4&comment	
fudge_commentkindvaluenamefudgetypevalue+			+				address 	
fudge_options'nameserver-&			filterm	$$	SCR::Read.etc.ntp_conf.all(4&4'value(!
SCR::Write.etc.ntp_conf.all&(!
SCR::Write
.etc.ntp_conf&,
/etc/ntp.conf(,
/etc/ntp.conf,

SCR::Write..sysconfig.network.config.NETCONFIG_NTP_POLICY,
SCR::Write.sysconfig.network.config(
SCR::Execute.target.bash/sbin/netconfig update4
,/Cannot update the dynamic configuration policy.
ntp-client(!&&
SCR::Write .sysconfig.ntp.NTPD_RUN_CHROOTEDyesno
SCR::Write.sysconfig.ntp4,!Cannot write sysconfig variables.
ntp-client,sleep(,-(,(#4$
progress_orig$%,&,'(*!
enabledisable4,,.NTP(1&&&&!
restart43,5Cannot restart the NTP daemon.
ntp-client(7!48,9
stop(;4<,=
SCR::Write.target.string+			+		-*/4 * * * * root /etc/init.d/ntp ntptimeset &>/dev/null4@,ASCR::Execute.target.bash+			+			+			+			test -e   && rm ;,Dsleep(F,-F(G4H,I,JFinished
ntp-client,Lsleep(N,-N-O%X=config_dhcp
&Ysynchronize_time&Z
sync_interval&[
start_at_boot&\start_in_chroot$^configure_dhcp&_	
ntp_policyauto&`peers	&a				maplistp	(b&&haskeykeyhaskeyvalue4c'dtype	key'eaddress	value(fhaskeyparam'goptions	param-h4i-j&m-n%v>-wsynchronize_time
sync_interval
start_at_bootstart_in_chroot
ntp_policypeers%?summary	types$(&/The NTP daemon starts when starting the system.
ntp-client&,The NTP daemon does not start automatically.
ntp-client$serverServers: %1
ntp-client__clockRadio Clocks: %1
ntp-clientpeer	Peers: %1
ntp-client	broadcast!Broadcast time information to: %1
ntp-clientbroadcastclient,Accept broadcasted time information from: %1
ntp-client()4&&Combine static and DHCP configuration.
ntp-client(*4&Static configuration only.
ntp-client4&Custom configuration policy.
ntp-client,		foreacht		server__clockpeer	broadcastbroadcastclientl	names	$			filterp		type$				maplisti		address&			filtern	(size4&		
sformat		
				mergestring			, -%@ret_IPv4ret_IPv6ok	(no_ui,LeftLabelTesting the NTP server...
ntp-client,	
y2milestone	
!Testing reachability of server %1$SCR::Execute.target.bash		
sformat		
/usr/sbin/sntp -4 -c 1 -d 15 %1$(&SCR::Execute.target.bash		
sformat		
/usr/sbin/sntp -6 -c 1 -d 15 %1(no_ui4,$||(result_popup4(4,
*Server is reachable and responds properly.
ntp-client4,3Server is unreachable or does not respond properly.
ntp-client-%A(slp4required_package	serversserver_names	$	yast2-slp(&&!!	4(!	4,		
sformat		
RCannot search for NTP server in local network
without having package %1 installed.
ntp-client,	
	y2warning	
+Not searching for local NTP servers via SLP-	4
,SCR::RegisterAgent.slpag_slpSlpAgent$service:ntp$		maplistm	pcHost&			filters	-,	
y2error	
Unknown detection method: %1-	%Bindexret	$$ 		maplistmtype	&!+$"	type(#!		contains	serverpeer	broadcastbroadcastclient__clock4%-&-(typeindexaddress	addressdevice	device&/			filterm	-0%8Cret$9(:||size4;,<	
y2error	
0Record with index %1 doesn't exist, creating new&=&>(@&A
&C
	&D-E%NDindexret$O$P,Q		foreachm	&R+(S&&	type	address&T-V%]E(^&_			add'a&b-c%kF(l||size4m,n	
y2error	
"Record with index %1 doesn't exist-o'q&r			filterr	&s-t%{Gold	old_l	$}	options$~			splitstring			 	(!		contains4&			add'options			mergestring			 %H-install"remove	

ACC SHELL 2018