diff options
-rw-r--r-- | packages/frickin/frickin.inc | 2 | ||||
-rw-r--r-- | packages/frickin/frickin.xml | 11 |
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, " &\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> |