aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-29 22:26:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-29 22:26:55 +0000
commit7236a270dae26e16dd5af3335088befdafc7ee73 (patch)
tree91d254050c03cbb07019753d9c1696123f9c62c4
parentb958c75879d5b55524d90d856e3ae58ebfe32920 (diff)
downloadpfsense-packages-7236a270dae26e16dd5af3335088befdafc7ee73.tar.gz
pfsense-packages-7236a270dae26e16dd5af3335088befdafc7ee73.tar.bz2
pfsense-packages-7236a270dae26e16dd5af3335088befdafc7ee73.zip
* Download correct binary
* Chmod a+rx the downloaded binary * Start frickin in the background
-rw-r--r--packages/frickin.xml9
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, " &amp;\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>