package ntpclient

config package
	option title 'Time Synchronisation'

config section
	option name 'ntpclient'
	option package 'ntpclient'
	option title 'General'
	option unique true
	option required true

config variable
	option name 'interval'
	option section 'ntpclient.ntpclient'
	option title 'Update Interval (in s)'
	option datatype uint

config variable
	option name 'count'
	option section 'ntpclient.ntpclient'
	option title 'Count of Time Measurements'
	option datatype uint

config section
	option name 'ntpdrift'
	option package 'ntpclient'
	option title 'Clock Adjustment'
	option unique true

config variable
	option name 'freq'
	option section 'ntpclient.ntpdrift'
	option title 'Offset Frequency'
	option datatype float

config section
	option name 'ntpserver'
	option package 'ntpclient'
	option title 'Time Server'

config variable
	option name 'hostname'
	option section 'ntpclient.ntpserver'
	option title 'Hostname'
	option required true
	option datatype host

config variable
	option name 'port'
	option section 'ntpclient.ntpserver'
	option title 'Port'
	option datatype port