aboutsummaryrefslogtreecommitdiffstats
path: root/packages/netioserver.xml
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-07-22 05:22:31 +0000
committerColin Smith <colin@pfsense.org>2005-07-22 05:22:31 +0000
commita2cc922fb1fa3fda0777ae02d8c3e19dd69254e2 (patch)
tree88f83e94070addb81d265917991f5d3f6afe4b78 /packages/netioserver.xml
parent1b0fb5e8a499e867495ed735cde4aee086018a3e (diff)
downloadpfsense-packages-a2cc922fb1fa3fda0777ae02d8c3e19dd69254e2.tar.gz
pfsense-packages-a2cc922fb1fa3fda0777ae02d8c3e19dd69254e2.tar.bz2
pfsense-packages-a2cc922fb1fa3fda0777ae02d8c3e19dd69254e2.zip
Copy netioserver for testing.
Diffstat (limited to 'packages/netioserver.xml')
-rw-r--r--packages/netioserver.xml75
1 files changed, 38 insertions, 37 deletions
diff --git a/packages/netioserver.xml b/packages/netioserver.xml
index 611cbfa9..bc2713da 100644
--- a/packages/netioserver.xml
+++ b/packages/netioserver.xml
@@ -1,38 +1,39 @@
-<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>
+<?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>