aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-11-30 20:17:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-11-30 20:17:57 +0000
commit92856f58d222b65ef180b52059d09ddac1485b9e (patch)
tree8f02c23db4fa35b758725599a6cc8576b0a40ddc /packages
parent5d3b8820e36176ccb0e145a1b98c755766828009 (diff)
downloadpfsense-packages-92856f58d222b65ef180b52059d09ddac1485b9e.tar.gz
pfsense-packages-92856f58d222b65ef180b52059d09ddac1485b9e.tar.bz2
pfsense-packages-92856f58d222b65ef180b52059d09ddac1485b9e.zip
* Allow selection of interfaces to listen on
* &amp; -> & now that it is it's own .inc file
Diffstat (limited to 'packages')
-rw-r--r--packages/frickin/frickin.inc2
-rw-r--r--packages/frickin/frickin.xml11
2 files changed, 12 insertions, 1 deletions
diff --git a/packages/frickin/frickin.inc b/packages/frickin/frickin.inc
index 9a5d9f05..3d865102 100644
--- a/packages/frickin/frickin.inc
+++ b/packages/frickin/frickin.inc
@@ -8,7 +8,7 @@ function frickin_custom_php_install_command() {
fwrite($fout, "/usr/local/bin/frickin");
fwrite($fout, " -s 127.0.0.1");
fwrite($fout, " -c 20");
- fwrite($fout, " &amp;\n");
+ fwrite($fout, " &\n");
fclose($fout);
mwexec("/usr/bin/killall frickin");
mwexec("chmod a+rx /usr/local/etc/rc.d/frickin.sh");
diff --git a/packages/frickin/frickin.xml b/packages/frickin/frickin.xml
index b507649e..25fd4c2b 100644
--- a/packages/frickin/frickin.xml
+++ b/packages/frickin/frickin.xml
@@ -20,4 +20,15 @@
frickin_custom_php_deinstall_command();
</custom_php_deinstall_command>
<include_file>/usr/local/pkg/frickin.inc</include_file>
+ <fields>
+ <field>
+ <fieldname>active_interface</fieldname>
+ <fielddescr>Proxy interface</fielddescr>
+ <description>The interface(s) the proxy server will bind to.</description>
+ <default_value>lan</default_value>
+ <required/>
+ <type>interfaces_selection</type>
+ <multiple/>
+ </field>
+ </fields>
</packagegui>