summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-06 18:20:35 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-11-06 18:20:35 -0400
commitd32d3970d58683d02f89073103eb595eaa8f395f (patch)
tree3d0e84fe511c857b90036bbd20bab2fad93b7cf1
parent277d55d75093cc0d44da35c6d14dc7388044e82e (diff)
downloadpfsense-d32d3970d58683d02f89073103eb595eaa8f395f.zip
pfsense-d32d3970d58683d02f89073103eb595eaa8f395f.tar.gz
Add routed/ items to obsoleted files. Force removal of file so that directories can be included in the future
-rw-r--r--etc/pfSense.obsoletedfiles4
-rwxr-xr-xtmp/post_upgrade_command.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/etc/pfSense.obsoletedfiles b/etc/pfSense.obsoletedfiles
index 7688453..fe54ea8 100644
--- a/etc/pfSense.obsoletedfiles
+++ b/etc/pfSense.obsoletedfiles
@@ -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 \ No newline at end of file
+/usr/local/www/system_usermanager_addcert.php
+/usr/local/pkg/routed/routed.inc
+/usr/local/pkg/routed/routed.xml
diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php
index 497e526..907e3ab 100755
--- a/tmp/post_upgrade_command.php
+++ b/tmp/post_upgrade_command.php
@@ -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");
?> \ No newline at end of file
OpenPOWER on IntegriCloud