blob: 8be996cc4b1716ae382fe509869df35e84f26971 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<?xml version="1.0" encoding="utf-8"?>
<packagegui>
<include_file>system.inc</include_file>
<custom_php_install_command>
openntpd_install();
</custom_php_install_command>
<menu>
<name>NTP server</name>
<tooltiptext>Configure the time server settings.</tooltiptext>
<section>Services</section>
<url>/pkg_edit.php?xml=openntpd.xml&id=0</url>
</menu>
<service>
<name>OpenNTPD</name>
<description>NTP server.</description>
<rcfile>openntpd.sh</rcfile>
<executable>ntpd</executable>
</service>
<!-- Interface -->
<name>openntpd</name>
<title>NTP server</title>
<fields>
<field>
<fieldname>enable</fieldname>
<fielddescr>Enable</fielddescr>
<description>Check this to enable the NTP server.</description>
<type>checkbox</type>
<enablefields>interface</enablefields>
</field>
<field>
<fieldname>interface</fieldname>
<fielddescr>Interface</fielddescr>
<description>Select the interface the NTP server will listen on.</description>
<default_value>lan</default_value>
<type>interfaces_selection</type>
<multiple/>
</field>
</fields>
<custom_php_resync_config_command>
system_ntp_configure();
</custom_php_resync_config_command>
</packagegui>
|