diff options
author | Colin Smith <colin@pfsense.org> | 2005-08-01 22:47:30 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-08-01 22:47:30 +0000 |
commit | 11938eaaab416e3a7937d202a2ba5e94c1bd7fa3 (patch) | |
tree | 175c66dcdb5633888ba1b5e492cee11066eb5ce6 /packages | |
parent | 524982de09f1f7738a1debdbe9eb085d3b46a48f (diff) | |
download | pfsense-packages-11938eaaab416e3a7937d202a2ba5e94c1bd7fa3.tar.gz pfsense-packages-11938eaaab416e3a7937d202a2ba5e94c1bd7fa3.tar.bz2 pfsense-packages-11938eaaab416e3a7937d202a2ba5e94c1bd7fa3.zip |
Revert to CVS 1.4, merge from reorg branch.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/netioserver.xml | 76 |
1 files changed, 37 insertions, 39 deletions
diff --git a/packages/netioserver.xml b/packages/netioserver.xml index bc2713da..bcb263ef 100644 --- a/packages/netioserver.xml +++ b/packages/netioserver.xml @@ -1,39 +1,37 @@ -<?xml version="1.0" encoding="utf-8" ?> -<package> - <nosync/> - <info> - <name>netioserver</name> - </info> - <gui> - <title>netio: Server</title> - <donotsave>true</donotsave> - <preoutput>yes</preoutput> - <tabs> - <tab> - <text>Client</text> - <url>/pkg_edit.php?xml=netio.xml</url> - </tab> - <tab> - <text>Server</text> - <url>/pkg_edit.php?xml=netioserver.xml</url> - <active/> - </tab> - </tabs> - <fields> - <field> - <fielddescr>Port</fielddescr> - <fieldname>port</fieldname> - <description>Enter the port that netio will bind to. (default 18767)</description> - <type>input</type> - </field> - </fields> - </gui> - <commands> - <add_commands> - stop_service("netio"); - if($_POST['port'] != "") $netioserver_options = " -p {$_POST['port']}"; - system("/usr/local/bin/netio -s" . $netioserver_options); - </add_commands> - </commands> -</package> - +<packagegui> + <name>netioserver</name> + <version>1.14</version> + <title>netio: Server</title> + <donotsave>true</donotsave> + <preoutput>yes</preoutput> + <menu> + <name>netio</name> + <tooltiptext>Run netio in client or server mode.</tooltiptext> + <section>Diagnostics</section> + <configfile>netio.xml</configfile> + </menu> + <tabs> + <tab> + <text>Client</text> + <url>/pkg_edit.php?xml=netio.xml</url> + </tab> + <tab> + <text>Server</text> + <url>/pkg_edit.php?xml=netioserver.xml</url> + <active/> + </tab> + </tabs> + <fields> + <field> + <fielddescr>Port</fielddescr> + <fieldname>port</fieldname> + <description>Enter the port that netio will bind to. (default 18767)</description> + <type>input</type> + </field> + </fields> + <custom_add_php_command> + mwexec("killall netio"); + if($_POST['port'] != "") $netioserver_options = " -p {$_POST['port']}"; + system("/usr/local/bin/netio -s" . $netioserver_options); + </custom_add_php_command> +</packagegui> |