frickin 1.2 installedpackages->package->$packagename->configuration->settings /usr/local/bin/ a+rx 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");