From f1b025971b4e7749c9a9b7c75b21daa63e80c013 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Sat, 12 Mar 2005 17:52:29 +0000 Subject: Stub in changes that will allow for custom firmware URLs --- usr/local/www/system_firmware.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'usr/local') 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."; } } -- cgit v1.1