diff options
author | jim-p <jpingle@gmail.com> | 2009-12-28 23:47:48 -0500 |
---|---|---|
committer | jim-p <jpingle@gmail.com> | 2009-12-28 23:47:48 -0500 |
commit | 505ae49e171a2a76dd723cabc1fa72cd2dd58a4e (patch) | |
tree | e21d5ed252e8caa358ca91bc4cc6545ad0160500 /config/blinkled8/blinkled.xml | |
parent | 203fc63f805d10cb64185de78e2f6e0fd317d5c9 (diff) | |
download | pfsense-packages-505ae49e171a2a76dd723cabc1fa72cd2dd58a4e.tar.gz pfsense-packages-505ae49e171a2a76dd723cabc1fa72cd2dd58a4e.tar.bz2 pfsense-packages-505ae49e171a2a76dd723cabc1fa72cd2dd58a4e.zip |
Move blinkled to blinkled8 for pfSense 2.0. Recompiled binary for FreeBSD 8, altered .inc and XML to hopefully alleviate a small bug, version bump also.
Diffstat (limited to 'config/blinkled8/blinkled.xml')
-rw-r--r-- | config/blinkled8/blinkled.xml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/config/blinkled8/blinkled.xml b/config/blinkled8/blinkled.xml new file mode 100644 index 00000000..3766f030 --- /dev/null +++ b/config/blinkled8/blinkled.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8" ?> +<packagegui> + <title>Interfaces: Assign LEDs</title> + <name>blinkled</name> + <version>20090710</version> + <savetext>Save</savetext> + <include_file>/usr/local/pkg/blinkled.inc</include_file> + <menu> + <name>Assign LEDs</name> + <tooltiptext>Assign LEDs to indicate network activity.</tooltiptext> + <section>Interfaces</section> + <url>/pkg_edit.php?xml=blinkled.xml</url> + </menu> + <additional_files_needed> + <item>http://www.pfsense.org/packages/config/blinkled8/blinkled.inc</item> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/bin/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/blinkled8/binaries/blinkled</item> + </additional_files_needed> + <service> + <name>blinkled</name> + <rcfile>blinkled.sh</rcfile> + <executable>blinkled</executable> + </service> + <fields> + <field> + <fielddescr>Enable blinkled</fielddescr> + <fieldname>enable</fieldname> + <type>checkbox</type> + <enablefields>enable_led2,enable_led3,iface_led2,iface_led3</enablefields> + <description>if this is enabled, it will use LED #2 and #3 to + indicate network activity. Be aware, however, that this will + possibly consume some system resources in the process.</description> + </field> + <field> + <fielddescr>Enable LED #2</fielddescr> + <fieldname>enable_led2</fieldname> + <type>checkbox</type> + </field> + <field> + <fielddescr>Interface For LED #2</fielddescr> + <fieldname>iface_led2</fieldname> + <type>interfaces_selection</type> + <description>Pick an interface to blink for activity on LED #2</description> + </field> + <field> + <fielddescr>Enable LED #3</fielddescr> + <fieldname>enable_led3</fieldname> + <type>checkbox</type> + </field> + <field> + <fielddescr>Interface For LED #3</fielddescr> + <fieldname>iface_led3</fieldname> + <type>interfaces_selection</type> + <description>Pick an interface to blink for activity on LED #3</description> + </field> + </fields> + <custom_php_validation_command> + validate_form_blinkled($_POST, &$input_errors); + </custom_php_validation_command> + <custom_php_resync_config_command> + sync_package_blinkled(); + </custom_php_resync_config_command> +</packagegui> |