1 |
bd7ad5d2
|
Scott Ullrich
|
<?xml version="1.0" encoding="utf-8"?>
|
2 |
|
|
<packagegui>
|
3 |
5f8e5160
|
Scott Ullrich
|
<include_file>system.inc</include_file>
|
4 |
bd7ad5d2
|
Scott Ullrich
|
<name>openntpd</name>
|
5 |
|
|
<title>NTP server</title>
|
6 |
|
|
<fields>
|
7 |
|
|
<field>
|
8 |
|
|
<fieldname>enable</fieldname>
|
9 |
|
|
<fielddescr>Enable</fielddescr>
|
10 |
|
|
<description>Check this to enable the NTP server.</description>
|
11 |
|
|
<type>checkbox</type>
|
12 |
|
|
</field>
|
13 |
|
|
<field>
|
14 |
|
|
<fieldname>interface</fieldname>
|
15 |
|
|
<fielddescr>Interface</fielddescr>
|
16 |
00d75b39
|
Scott Ullrich
|
<description>Select the interface(s) the NTP server will listen on.</description>
|
17 |
bd7ad5d2
|
Scott Ullrich
|
<default_value>lan</default_value>
|
18 |
|
|
<multiple/>
|
19 |
7401c8c4
|
jim-p
|
<type>select_source</type>
|
20 |
c82b2c3f
|
jim-p
|
<source><![CDATA[get_possible_listen_ips()]]></source>
|
21 |
7401c8c4
|
jim-p
|
<source_name>name</source_name>
|
22 |
|
|
<source_value>value</source_value>
|
23 |
|
|
|
24 |
bd7ad5d2
|
Scott Ullrich
|
</field>
|
25 |
|
|
</fields>
|
26 |
|
|
<custom_php_resync_config_command>
|
27 |
5f8e5160
|
Scott Ullrich
|
system_ntp_configure();
|
28 |
bd7ad5d2
|
Scott Ullrich
|
</custom_php_resync_config_command>
|
29 |
|
|
</packagegui>
|