diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-22 23:43:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-22 23:43:17 +0000 |
commit | 4cac6f775d71bf98bd8a753b7504857aed7fe7e8 (patch) | |
tree | bf9ccdcf75eb08f1500fec5546efefcc8a8c5499 /usr/local/www | |
parent | 64f8d068777507a6a7d8363e0f58b7457d59037b (diff) | |
download | pfsense-4cac6f775d71bf98bd8a753b7504857aed7fe7e8.zip pfsense-4cac6f775d71bf98bd8a753b7504857aed7fe7e8.tar.gz |
Create a backup of the configuration prior to package installation.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 3574748..28b2548 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -104,11 +104,13 @@ Rounded("div#mainareapkg","bl br","#FFF","#eeeeee","smooth"); </body> </html> - <?php ob_flush(); +// Write out configuration to creatae a backup prior to pkg install +write_config("Creating restore point before package installation."); + /* mount rw fs */ conf_mount_rw(); |