aboutsummaryrefslogtreecommitdiffstats
path: root/config/olsrd/olsrd.xml
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-05 10:02:24 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-05 20:10:15 -0200
commit07cf2c4b20230ddedee1bf9dddc1e7cd407385f5 (patch)
tree44d40561519e0018ad586bb1449e107c9ae431f3 /config/olsrd/olsrd.xml
parente526e4aa28867b7743b0e76993f5f6bebd15bc1b (diff)
downloadpfsense-packages-07cf2c4b20230ddedee1bf9dddc1e7cd407385f5.tar.gz
pfsense-packages-07cf2c4b20230ddedee1bf9dddc1e7cd407385f5.tar.bz2
pfsense-packages-07cf2c4b20230ddedee1bf9dddc1e7cd407385f5.zip
Packages repo cleanup:
- Drop support for pfSense < 2 - Remove archive/, old files can be reached using git - Remove old and unused packages - Move stale files from config subdir to a package subdir
Diffstat (limited to 'config/olsrd/olsrd.xml')
-rw-r--r--config/olsrd/olsrd.xml141
1 files changed, 141 insertions, 0 deletions
diff --git a/config/olsrd/olsrd.xml b/config/olsrd/olsrd.xml
new file mode 100644
index 00000000..3939f357
--- /dev/null
+++ b/config/olsrd/olsrd.xml
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<packagegui>
+ <name>olsrd</name>
+ <version>1.0</version>
+ <title>OLSRD</title>
+ <include_file>/usr/local/pkg/olsrd.inc</include_file>
+ <!-- Menu is where this packages menu will appear -->
+ <menu>
+ <name>OLSRD</name>
+ <section>Services</section>
+ <configfile>olsrd.xml</configfile>
+ </menu>
+ <service>
+ <name>OLSRD</name>
+ <rcfile>/usr/local/sbin/olsrd -f /var/etc/olsr.conf</rcfile>
+ </service>
+ <tabs>
+ <tab>
+ <text>OLSRD Settings</text>
+ <url>/pkg_edit.php?xml=olsrd.xml&amp;id=0</url>
+ <active/>
+ </tab>
+ </tabs>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>https://packages.pfsense.org/packages/config/olsrd/olsrd.inc</item>
+ </additional_files_needed>
+ <!-- configpath gets expanded out automatically and config items will be
+ stored in that location -->
+ <configpath>['installedpackages']['OLSRD']['config']</configpath>
+ <!-- fields gets invoked when the user adds or edits a item. the following items
+ will be parsed and rendered for the user as a gui with input, and selectboxes. -->
+ <fields>
+ <field>
+ <fielddescr>Enable OLSR</fielddescr>
+ <fieldname>enable</fieldname>
+ <description>Enables the dynamic mesh linking daemon</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Link Quality Level</fielddescr>
+ <fieldname>enablelqe</fieldname>
+ <type>select</type>
+ <size>1</size>
+ <options>
+ <option><value>2</value><name>2</name></option>
+ <option><value>0</value><name>0</name></option>
+ <option><value>1</value><name>1</name></option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Interfaces</fielddescr>
+ <fieldname>iface_array</fieldname>
+ <value>lan</value>
+ <multiple>true</multiple>
+ <size>3</size>
+ <type>interfaces_selection</type>
+ <description>Select the interfaces that OLSR will bind to. You can use the CTRL or COMMAND key to select multiple interfaces.</description>
+ </field>
+ <field>
+ <fielddescr>Enable HTTPInfo Plugin</fielddescr>
+ <fieldname>enablehttpinfo</fieldname>
+ <description>Enables the OLSR stats web server</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>HTTPInfo Port</fielddescr>
+ <fieldname>port</fieldname>
+ <description>Port that HTTPInfo will listen on</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Allowed host(s)</fielddescr>
+ <fieldname>allowedhttpinfohost</fieldname>
+ <description>Hosts that are allowed to access the HTTPInfo web service.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Allowed host(s) subnet</fielddescr>
+ <fieldname>allowedhttpinfosubnet</fieldname>
+ <description>Enter the subnet mask in form 255.255.255.0</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Enable Dynamic Gateway</fielddescr>
+ <fieldname>enabledyngw</fieldname>
+ <description>Enables the OLSR Dynamic Gateways feature</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Announce self as Dynamic Gateway</fielddescr>
+ <fieldname>enableannounce</fieldname>
+ <description>Enables the OLSR Dynamic Gateways Announcing feature</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Announce Dynamic local route</fielddescr>
+ <fieldname>announcedynamicroute</fieldname>
+ <description>Enter the IP/Netmask</description>
+ <type>textarea</type>
+ <rows>3</rows>
+ <cols>50</cols>
+ </field>
+ <field>
+ <fielddescr>Ping</fielddescr>
+ <fieldname>ping</fieldname>
+ <description>Pings this host to ensure connectivity</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Poll</fielddescr>
+ <fieldname>polling</fieldname>
+ <description>How often to look for a inet gw, in seconds.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Enable Secure Mode</fielddescr>
+ <fieldname>enabledsecure</fieldname>
+ <description>Enables the secure mode</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Key</fielddescr>
+ <fieldname>securekey</fieldname>
+ <description>Paste the secure key information here.</description>
+ <type>textarea</type>
+ <rows>5</rows>
+ <cols>50</cols>
+ </field>
+ </fields>
+ <custom_delete_php_command>
+ </custom_delete_php_command>
+ <custom_php_resync_config_command>
+ setup_wireless_olsr($if);
+ </custom_php_resync_config_command>
+ <custom_php_install_command>
+ </custom_php_install_command>
+ <custom_php_deinstall_command>
+ </custom_php_deinstall_command>
+</packagegui>