aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freenas/pkg/freenas.inc
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 06:56:22 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 06:56:22 +0000
commit861b9752326ef214baa5e46682e25bc7a780dfbd (patch)
tree2e712491e63c17336c4737f6f4d0de0d57cf2679 /packages/freenas/pkg/freenas.inc
parentb9606b3f5705f44545d410dc33f9f38c8e03a153 (diff)
downloadpfsense-packages-861b9752326ef214baa5e46682e25bc7a780dfbd.tar.gz
pfsense-packages-861b9752326ef214baa5e46682e25bc7a780dfbd.tar.bz2
pfsense-packages-861b9752326ef214baa5e46682e25bc7a780dfbd.zip
Try to output feedback msgs while installing the package
Diffstat (limited to 'packages/freenas/pkg/freenas.inc')
-rw-r--r--packages/freenas/pkg/freenas.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/freenas/pkg/freenas.inc b/packages/freenas/pkg/freenas.inc
index 594c0412..52418e8a 100644
--- a/packages/freenas/pkg/freenas.inc
+++ b/packages/freenas/pkg/freenas.inc
@@ -27,6 +27,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
+require_once("freenas_config.inc");
+
function sync_package_freenas() {
}
@@ -51,7 +53,11 @@ function oninstall_copy_kernel_binaries($action = "install") {
if ($action == "install") {
while (list($source, $target) = each($binaries)) {
+ $static_output .= "FreeNAS: Moving binary file... ";
+ update_output_window($static_output);
rename($source, $target);
+ $static_output .= "done.\n";
+ update_output_window($static_output);
}
} else if ($action == "deinstall") {
while (list($source, $target) = each($binaries)) {