Add routed/ items to obsoleted files. Force removal of file so that directories can be included in the future

This commit is contained in:
Scott Ullrich 2010-11-06 18:20:35 -04:00
parent 277d55d750
commit d32d3970d5
2 changed files with 4 additions and 2 deletions

View File

@ -45,4 +45,6 @@
/usr/local/www/dfuife.cgi
/usr/local/www/fred.png
/usr/local/www/index.html
/usr/local/www/system_usermanager_addcert.php
/usr/local/www/system_usermanager_addcert.php
/usr/local/pkg/routed/routed.inc
/usr/local/pkg/routed/routed.xml

View File

@ -19,6 +19,6 @@
$files_to_process = split("\n", file_get_contents("/etc/pfSense.obsoletedfiles"));
foreach($files_to_process as $filename)
if(file_exists($filename))
exec("/bin/rm $filename");
exec("/bin/rm -f $filename");
?>