summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-06 23:12:48 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-06 23:12:48 +0000
commit347819236ff5cdfe3c69ab6cc3c1999dff0dd6ba (patch)
treeafa2d21d1448cbd6ebd54a105efca97876f3ea9c /etc
parent4f54dd23b8655ce6c30a62c419d62533431f3602 (diff)
downloadpfsense-347819236ff5cdfe3c69ab6cc3c1999dff0dd6ba.zip
pfsense-347819236ff5cdfe3c69ab6cc3c1999dff0dd6ba.tar.gz
* Cleanup php fastcgi files better
* Remove *.tmp files
Diffstat (limited to 'etc')
-rw-r--r--etc/phpshellsessions/cvssync3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index 1ed4716..a58a6c9 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -160,7 +160,8 @@ echo "Your system is now sync'd and PHP and Lighty will be restarted in 5 second
function post_cvssync_commands() {
echo "===> Removing FAST-CGI temporary files...\n";
- exec("find /tmp -name \"*php*\" -exec rm -rf {} \;");
+ exec("find /tmp -name \"php-fastcgi.socket*\" -exec rm -rf {} \;");
+ exec("find /tmp -name \"*.tmp\" -exec rm -rf {} \;");
exec("rm -rf /tmp/xcache/* 2>/dev/null");
OpenPOWER on IntegriCloud