diff options
-rw-r--r-- | packages/frickin.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/frickin.xml b/packages/frickin.xml index 4f59645e..775937c8 100644 --- a/packages/frickin.xml +++ b/packages/frickin.xml @@ -14,8 +14,8 @@ <configpath>installedpackages->package->$packagename->configuration->settings</configpath> <additional_files_needed> <prefix>/usr/local/bin/</prefix> - <chmod>a+x</chmod> - <item>http://www.pfsense.com/packages/config/frickin.xml</item> + <chmod>a+rx</chmod> + <item>http://www.pfsense.com/packages/All/frickin</item> </additional_files_needed> <fields> <field> @@ -40,10 +40,11 @@ fwrite($fout, "/usr/local/bin/frickin"); if($frickin_config['serveraddress'] != "") fwrite($fout, " -s " . $frickin_config['serveraddress']); if($frickin_config['maxtunnels'] != "") fwrite($fout, " -c " . $frickin_config['maxtunnels']); - fwrite($fout, "\n"); + fwrite($fout, " &\n"); + fclose($fout); mwexec("/usr/bin/killall frickin"); + mwexec("chmod a+rx /usr/local/etc/rc.d/frickin.sh"); mwexec("/usr/local/etc/rc.d/frickin.sh"); - fclose($fout); } </custom_php_global_functions> <custom_add_php_command> |