diff options
author | Bill Marquette <billm@pfsense.org> | 2005-03-12 17:52:29 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-03-12 17:52:29 +0000 |
commit | f1b025971b4e7749c9a9b7c75b21daa63e80c013 (patch) | |
tree | 0160c42934611576b3b35ed38121eb5b81aaa5ca /usr/local/www/system_firmware.php | |
parent | dc1c55041b99f66efec8a29e07b5104d9ec3a042 (diff) | |
download | pfsense-f1b025971b4e7749c9a9b7c75b21daa63e80c013.zip pfsense-f1b025971b4e7749c9a9b7c75b21daa63e80c013.tar.gz |
Stub in changes that will allow for custom firmware URLs
Diffstat (limited to 'usr/local/www/system_firmware.php')
-rwxr-xr-x | usr/local/www/system_firmware.php | 7 |
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."; } } |