summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-30 15:03:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-30 15:03:05 +0000
commit58eba990705c94d8a0cbdd01158c220dc18147bb (patch)
tree65b8b1a4529a23a4156aff2c25b3f3c989ec7afa /etc
parent4ec17a3b073517648ec0292d576d45f433ecc7f7 (diff)
downloadpfsense-58eba990705c94d8a0cbdd01158c220dc18147bb.zip
pfsense-58eba990705c94d8a0cbdd01158c220dc18147bb.tar.gz
rm CVS directory during bootup
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
-rwxr-xr-xetc/rc2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 5e457a2..37080d7 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -148,8 +148,6 @@ function filter_configure() {
if(file_exists("/usr/local/pkg/pf/carp_sync_client.php"))
unlink("/usr/local/pkg/pf/carp_sync_client.php");
-
- mwexec("/bin/rm -rf /usr/local/pkg/pf/CVS");
/* process packager manager custom rules */
$files = return_dir_as_array("/usr/local/pkg/pf/");
diff --git a/etc/rc b/etc/rc
index 428cc00..e26a78a 100755
--- a/etc/rc
+++ b/etc/rc
@@ -146,6 +146,8 @@ if [ -f /tmp/filter_boot_dirty ]; then
echo "Done."
fi
+rm -rf /usr/local/pkg/pf/CVS
+
/usr/local/bin/php -f /etc/rc.conf_mount_ro
echo "Bootup complete"
OpenPOWER on IntegriCloud