summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-22 23:42:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-22 23:42:14 +0000
commit864b397664a30be091a0b9b54eaf227aaad26002 (patch)
tree29e932aa56eba4b39becbdcfe11f3f75dbaed9bc /usr/local/www/pkg_mgr_install.php
parent1b02bfb7cc99b0dfcced47404dddc4abc12783cb (diff)
downloadpfsense-864b397664a30be091a0b9b54eaf227aaad26002.zip
pfsense-864b397664a30be091a0b9b54eaf227aaad26002.tar.gz
Create a backup of the configuration prior to package installation.
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php3
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();
OpenPOWER on IntegriCloud