summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command.php
diff options
context:
space:
mode:
Diffstat (limited to 'tmp/post_upgrade_command.php')
-rwxr-xr-xtmp/post_upgrade_command.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php
index 7f5f627..4b9fcef 100755
--- a/tmp/post_upgrade_command.php
+++ b/tmp/post_upgrade_command.php
@@ -9,4 +9,10 @@
write_config();
}
setup_serial_port();
+ if(file_exists("/usr/local/www/index.html"))
+ unlink("/usr/local/www/index.html");
+ if(file_exists("/usr/local/www/fred.png"))
+ unlink("/usr/local/www/fred.png");
+ if(file_exists("/usr/local/www/dfuife.cgi"))
+ unlink("/usr/local/www/dfuife.cgi");
?> \ No newline at end of file
OpenPOWER on IntegriCloud