summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware_auto.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-19 23:15:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-19 23:15:38 +0000
commit48012bc26fb3b8c91229901c974f7baf5d2ba924 (patch)
tree7da0ee0b2aa336bc708d2b13808dc2adb1a0630d /usr/local/www/system_firmware_auto.php
parentb5b5486cbd3aebc76f40b64680906e714fffe514 (diff)
downloadpfsense-48012bc26fb3b8c91229901c974f7baf5d2ba924.zip
pfsense-48012bc26fb3b8c91229901c974f7baf5d2ba924.tar.gz
Use the new download system in pfSense to download the old style updates.
Diffstat (limited to 'usr/local/www/system_firmware_auto.php')
-rwxr-xr-xusr/local/www/system_firmware_auto.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php
index 4e11e4a..d1ce27e 100755
--- a/usr/local/www/system_firmware_auto.php
+++ b/usr/local/www/system_firmware_auto.php
@@ -229,6 +229,10 @@ if($use_old_checkversion == false) {
exit;
} else {
touch("/tmp/auto_upgrade_in_progress");
+ log_error("Downloading http://www.pfSense.com/latest.tgz");
+ download_file_with_progress_bar("http://www.pfSense.com/latest.tgz", "/tmp/latest.tgz");
+ log_error("Downloading http://www.pfSense.com/latest.tgz");
+ download_file_with_progress_bar("http://www.pfSense.com/latest.tgz.md5", "/tmp/latest.tgz.md5");
mwexec_bg("/etc/rc.firmware_auto \"{$firmwareurl}\" \"{$firmwarename}\" \"{$http_auth_username}\" \"{$http_auth_password}\"");
$update_status = "pfSense is now auto upgrading. The firewall will automatically reboot if it succeeds.";
update_status("pfSense is now upgrading. The firewall will reboot once the operation has completed.");
OpenPOWER on IntegriCloud