From 864b397664a30be091a0b9b54eaf227aaad26002 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 22 Nov 2008 23:42:14 +0000 Subject: Create a backup of the configuration prior to package installation. --- usr/local/www/pkg_mgr_install.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr/local/www') 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(); -- cgit v1.1