diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-28 17:27:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-28 17:27:26 +0000 |
commit | a27baeecf09aaa814fc8794bf1f2e97fce7f77f6 (patch) | |
tree | 241b203583848a46587b37fd219ecd9039d18aab /etc | |
parent | a401df7b3ca6eb2ab3deac53b473b4eaf014c707 (diff) | |
download | pfsense-a27baeecf09aaa814fc8794bf1f2e97fce7f77f6.zip pfsense-a27baeecf09aaa814fc8794bf1f2e97fce7f77f6.tar.gz |
* Cleanup comments
* Turn off debugging items
* Ignore CVS directory
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 994f896..994cb2d 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -149,9 +149,6 @@ function filter_configure() { if(file_exists("/usr/local/pkg/pf/carp_sync_client.php")) unlink("/usr/local/pkg/pf/carp_sync_client.php"); - - mwxec("/bin/rm -rf /usr/local/pkg/pf/CVS"); - /* process packager manager custom rules */ $files = return_dir_as_array("/usr/local/pkg/pf/"); if($files <> "") { @@ -162,7 +159,7 @@ function filter_configure() { if(stristr($file, ".sh") == true) { mwexec("/usr/local/pkg/pf/" . $file . " start"); } else { - //if($g['booting'] == true) + if($g['booting'] == true) echo "\t{$file}... "; eval($text); if($g['booting'] == true) @@ -176,9 +173,10 @@ function filter_configure() { /* sync carp entries to other firewalls */ carp_sync_client(); - /* we need a way to let a user run a shell cmd after each - filter_configure() call. run this xml command after - each change. + /* + we need a way to let a user run a shell cmd after each + filter_configure() call. run this xml command after + each change. */ if($config['system']['afterfilterchangeshellcmd'] <> "") { mwexec($config['system']['afterfilterchangeshellcmd']); |