diff options
Diffstat (limited to 'config/frickin/frickin.inc')
-rw-r--r-- | config/frickin/frickin.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/frickin/frickin.inc b/config/frickin/frickin.inc index a3d7ae1e..d8b430d0 100644 --- a/config/frickin/frickin.inc +++ b/config/frickin/frickin.inc @@ -34,9 +34,9 @@ if(!function_exists("filter_configure")) function frickin_custom_php_install_command() { global $config; - if(file_exists("/tmp/frickin.tar.gz")) { - exec("tar xzPf /tmp/frickin.tar.gz -C /"); - unlink("/tmp/frickin.tar.gz"); + if(file_exists("/tmp/frickin2")) { + exec("mv /tmp/frickin2 /usr/local/sbin/"); + exec("chmod 0555 /usr/local/sbin/frickin2"); } $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"); |