summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_firmware.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index f51d7f8..f6326dd 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -81,7 +81,12 @@ if($_POST) {
$http_auth_username = $config['system']['proxy_auth_username'];
if($config['system']['proxy_auth_password'])
$http_auth_password = $config['system']['proxy_auth_password'];
- exec_rc_script_async("/etc/rc.firmware_auto {$http_auth_username} {$http_auth_password}");
+
+ /* stub in custom firmware option */
+ $firmwareurl=$g['firmwarebaseurl'];
+ $firmwarename=$g['firmwarefilename'];
+
+ exec_rc_script_async("/etc/rc.firmware_auto {$firmwareurl} {$firmwarename} {$http_auth_username} {$http_auth_password}");
$savemsg = "pfSense is now auto upgrading. The firewall will automatically reboot if it succeeds.";
}
}
OpenPOWER on IntegriCloud