diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-08 22:25:02 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-08 22:31:51 -0400 |
commit | 179b09e16ea6d53600fedcc86b596bccae2211de (patch) | |
tree | 29078a8dc6ab5716a7e702a9b0ef8abdb4e66884 /etc/phpshellsessions/cvssync | |
parent | 7c6fe5c59dd46a908d78170a4f4ca1b8c8ceaa20 (diff) | |
download | pfsense-179b09e16ea6d53600fedcc86b596bccae2211de.zip pfsense-179b09e16ea6d53600fedcc86b596bccae2211de.tar.gz |
Remove /home/pfsense on each run until we can fine tune this script.
Diffstat (limited to 'etc/phpshellsessions/cvssync')
-rw-r--r-- | etc/phpshellsessions/cvssync | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 2aaaa61..4b42919 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -11,11 +11,9 @@ global $command_split; conf_mount_rw(); -if(is_dir("/home/pfsense")) { - echo "\nRemoving downloaded cvssync data, please wait..."; - exec("rm -rf /home/pfsense"); - echo " done.\n"; -} +echo "\nRemoving downloaded cvssync data, please wait..."; +exec("rm -rf /home/pfsense"); +echo " done.\n"; unlink_if_exists("/tmp/config.cache"); |