From e7a0051400f40611718e2f1c5131d2a64cebefb4 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 6 Nov 2014 07:34:57 -0200 Subject: Process obsolete files in shell script instead of php --- tmp/post_upgrade_command.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tmp/post_upgrade_command.php') 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"); ?> -- cgit v1.1