diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-31 23:28:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-31 23:28:19 +0000 |
commit | 18ff56f25607c33a02598500585e7b502755029b (patch) | |
tree | bf61990ad0a1b8992926fe7675487a0345149e9f /usr | |
parent | 6305e67c459b8c685ad2e483c6d607404c74e2e5 (diff) | |
download | pfsense-18ff56f25607c33a02598500585e7b502755029b.zip pfsense-18ff56f25607c33a02598500585e7b502755029b.tar.gz |
Add auto upgrade option to pfSense
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_firmware.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php index 7f593a5..f219979 100755 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -31,6 +31,11 @@ $d_isfwfile = 1; require("guiconfig.inc"); +if($_GET['autoupgrade'] <> "") { + exec_rc_script_async("/etc/rc.firmware_auto"); + $savemsg = "pfSense is now auto upgrading. The firewall will automatically reboot if it succeeds."; +} + /* checks with m0n0.ch to see if a newer firmware version is available; returns any HTML message it gets from the server */ function check_firmware_version() { @@ -200,6 +205,21 @@ print_info_box($sig_warning); has started. The firewall will reboot automatically after storing the new firmware. The configuration will be maintained.</span></td> </tr> + + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td colspan="2" class="listtopic">Invoke pfSense Auto Upgrade</td> + </tr> + <tr> + <td width="22%" valign="baseline" class="vncell"> </td> + <td width="78%" class="vtable"> + <p> Click this button to reinstall all system packages. This may wake a while.<br> + <br> + <a href="system_firmware.php?autoupgrade=true">Invoke Auto Upgrade</a> + </tr> + </table> </form> <?php endif; endif; ?> |