summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-02-22 14:31:34 -0500
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-02-22 14:31:34 -0500
commitcfde64b8b85c1fa6730b0b1655be66f2b9df51de (patch)
tree1fc08ec9365953a6f011380e4c7fa0886e88a1ba /usr/local/www/pkg_mgr_install.php
parent8cd294def19d9d678fc1e369bf549e3b489700c1 (diff)
downloadpfsense-cfde64b8b85c1fa6730b0b1655be66f2b9df51de.zip
pfsense-cfde64b8b85c1fa6730b0b1655be66f2b9df51de.tar.gz
* Add get_after_install_info()
* Show installation instructions for package if they exist (after_install_info)
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 603ff3f..4ea6819 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -179,7 +179,11 @@ switch($_GET['mode']) {
$static_output .= "\n\nInstallation halted.";
} else {
update_status("Installation of " . htmlspecialchars($_GET['id']) . " completed.");
- $static_output .= "\n\nInstallation completed. Please check to make sure that the package is configured from the respective menu then start the package.";
+ $status = get_after_install_info($_GET['id']);
+ if($status)
+ $static_output .= "\nInstallation completed.\n\n{$_GET['id']} setup instructions:\n\n{$status}";
+ else
+ $static_output .= "\nInstallation completed. Please check to make sure that the package is configured from the respective menu then start the package.";
}
update_output_window($static_output);
}
OpenPOWER on IntegriCloud