diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-25 13:57:28 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-25 13:57:28 +0000 |
commit | 729c5a24a8be86020acaff855f1c1e2882a39e42 (patch) | |
tree | 8943ddf6682d0c4fa39c9859e87c116b86904eae /applications/luci-ntpc/root/lib/uci | |
parent | bab278613b6e5e4112a2921e60f7b65b7332409e (diff) |
* luci/libs/uvl: move most schemes to their corresponding packages
Diffstat (limited to 'applications/luci-ntpc/root/lib/uci')
-rw-r--r-- | applications/luci-ntpc/root/lib/uci/schema/default/ntpclient | 53 |
1 files changed, 53 insertions, 0 deletions
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 |