diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-22 23:42:14 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-22 23:42:14 +0000 |
commit | 864b397664a30be091a0b9b54eaf227aaad26002 (patch) | |
tree | 29e932aa56eba4b39becbdcfe11f3f75dbaed9bc /usr | |
parent | 1b02bfb7cc99b0dfcced47404dddc4abc12783cb (diff) | |
download | pfsense-864b397664a30be091a0b9b54eaf227aaad26002.zip pfsense-864b397664a30be091a0b9b54eaf227aaad26002.tar.gz |
Create a backup of the configuration prior to package installation.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 1cd5d7c..603ff3f 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -114,6 +114,9 @@ Rounded("div#mainareapkg","bl br","#FFF","#eeeeee","smooth"); 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(); |