From 729c5a24a8be86020acaff855f1c1e2882a39e42 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 25 Sep 2008 13:57:28 +0000 Subject: * luci/libs/uvl: move most schemes to their corresponding packages --- .../root/lib/uci/schema/default/ntpclient | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 applications/luci-ntpc/root/lib/uci/schema/default/ntpclient (limited to 'applications/luci-ntpc') diff --git a/applications/luci-ntpc/root/lib/uci/schema/default/ntpclient b/applications/luci-ntpc/root/lib/uci/schema/default/ntpclient new file mode 100644 index 0000000000..0b7b5a5e5d --- /dev/null +++ b/applications/luci-ntpc/root/lib/uci/schema/default/ntpclient @@ -0,0 +1,53 @@ +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 -- cgit v1.2.3