summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-22 23:43:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-22 23:43:17 +0000
commit4cac6f775d71bf98bd8a753b7504857aed7fe7e8 (patch)
treebf9ccdcf75eb08f1500fec5546efefcc8a8c5499
parent64f8d068777507a6a7d8363e0f58b7457d59037b (diff)
downloadpfsense-4cac6f775d71bf98bd8a753b7504857aed7fe7e8.zip
pfsense-4cac6f775d71bf98bd8a753b7504857aed7fe7e8.tar.gz
Create a backup of the configuration prior to package installation.
-rwxr-xr-xusr/local/www/pkg_mgr_install.php4
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();
OpenPOWER on IntegriCloud