diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-15 20:34:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-15 20:34:05 +0000 |
commit | bd7ad5d2fb1cac31341aef07dbd84b9101cc1e47 (patch) | |
tree | fc1960d56006a81ea6532290f1075bca8cf85722 /usr/local/pkg/openntpd.xml | |
parent | 35786126ee16e8dce39096bdea833b9165aa1669 (diff) | |
download | pfsense-bd7ad5d2fb1cac31341aef07dbd84b9101cc1e47.zip pfsense-bd7ad5d2fb1cac31341aef07dbd84b9101cc1e47.tar.gz |
Add OpenNTPD to base.
Diffstat (limited to 'usr/local/pkg/openntpd.xml')
-rw-r--r-- | usr/local/pkg/openntpd.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/usr/local/pkg/openntpd.xml b/usr/local/pkg/openntpd.xml new file mode 100644 index 0000000..8d16323 --- /dev/null +++ b/usr/local/pkg/openntpd.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<packagegui> + <include_file>openntpd.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> + openntpd_resync(); + </custom_php_resync_config_command> +</packagegui> |