From f3c848d18bb8c7b72c10aa1d7f4b4bdc89951565 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 30 Nov 2006 17:04:09 +0000 Subject: Move frickin to it's own directory --- packages/frickin/frickin.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/frickin/frickin.xml diff --git a/packages/frickin/frickin.xml b/packages/frickin/frickin.xml new file mode 100644 index 00000000..f3974a55 --- /dev/null +++ b/packages/frickin/frickin.xml @@ -0,0 +1,29 @@ + + + frickin + 1.2 + installedpackages->package->$packagename->configuration->settings + + /usr/local/bin/ + 0755 + http://www.pfsense.com/packages/All/frickin + + + $fout = fopen("/usr/local/etc/rc.d/frickin.sh", "w"); + fwrite($fout, "#!/bin/sh\n# This package was automatically generated\n# by the pfSense package system.\n\n"); + fwrite($fout, "# PACKAGE: Frickin Proxy\n"); + fwrite($fout, "# EXECUTABLE: frickin\n"); + fwrite($fout, "/usr/local/bin/frickin"); + fwrite($fout, " -s 127.0.0.1"); + fwrite($fout, " -c 20"); + 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"); + + + unlink_if_exists("/usr/local/etc/rc.d/frickin.sh"); + unlink_if_exists("/usr/local/bin/frickin"); + + -- cgit v1.2.3