summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-06 07:34:57 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-11-06 07:57:21 -0200
commite7a0051400f40611718e2f1c5131d2a64cebefb4 (patch)
tree6a0d06a2f3794ce3dde0506f29b49454716d9c6c /tmp/post_upgrade_command.php
parent48f77cef068930e77b76e4f15e72e9cc230c9dc4 (diff)
downloadpfsense-e7a0051400f40611718e2f1c5131d2a64cebefb4.zip
pfsense-e7a0051400f40611718e2f1c5131d2a64cebefb4.tar.gz
Process obsolete files in shell script instead of php
Diffstat (limited to 'tmp/post_upgrade_command.php')
-rwxr-xr-xtmp/post_upgrade_command.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php
index 5cbc8be..14c0d63 100755
--- a/tmp/post_upgrade_command.php
+++ b/tmp/post_upgrade_command.php
@@ -24,10 +24,5 @@
system("echo \"Adding serial port settings ({$newslicedir})...\" >> /conf/upgrade_log.txt");
setup_serial_port("upgrade", $newslicedir);
-
- $files_to_process = file("/etc/pfSense.obsoletedfiles");
- foreach($files_to_process as $filename)
- if(file_exists($filename))
- exec("/bin/rm -f $filename");
?>
OpenPOWER on IntegriCloud