<?xml version="1.0" encoding="utf-8"?> <packagegui> <include_file>system.inc</include_file> <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> </field> <field> <fieldname>interface</fieldname> <fielddescr>Interface</fielddescr> <description>Select the interface(s) the NTP server will listen on.</description> <default_value>lan</default_value> <multiple/> <type>select_source</type> <source><![CDATA[get_possible_listen_ips()]]></source> <source_name>name</source_name> <source_value>value</source_value> </field> </fields> <custom_php_resync_config_command> system_ntp_configure(); </custom_php_resync_config_command> </packagegui>