diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-09-06 23:12:48 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-09-06 23:12:48 +0000 |
commit | 347819236ff5cdfe3c69ab6cc3c1999dff0dd6ba (patch) | |
tree | afa2d21d1448cbd6ebd54a105efca97876f3ea9c | |
parent | 4f54dd23b8655ce6c30a62c419d62533431f3602 (diff) | |
download | pfsense-347819236ff5cdfe3c69ab6cc3c1999dff0dd6ba.zip pfsense-347819236ff5cdfe3c69ab6cc3c1999dff0dd6ba.tar.gz |
* Cleanup php fastcgi files better
* Remove *.tmp files
-rw-r--r-- | etc/phpshellsessions/cvssync | 3 |
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"); |