From fcce244e90fbaecb99b9e2a1b270c7830447b17e Mon Sep 17 00:00:00 2001 From: Derek Macias Date: Tue, 15 Dec 2015 07:50:23 -0700 Subject: [PATCH] removed command output would give the appearance that it hung --- plugins/NerdPack.plg | 4 +++- .../local/emhttp/plugins/NerdPack/scripts/packagemanager | 7 +++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/NerdPack.plg b/plugins/NerdPack.plg index d29a852b..dc01e0c0 100644 --- a/plugins/NerdPack.plg +++ b/plugins/NerdPack.plg @@ -3,7 +3,7 @@ - + @@ -17,6 +17,8 @@ +###2015.12.15a +- remove command output ###2015.12.15 - minor fixes ###2015.12.14 diff --git a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/scripts/packagemanager b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/scripts/packagemanager index 9ae01b00..2f2f11d3 100755 --- a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/scripts/packagemanager +++ b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/scripts/packagemanager @@ -75,10 +75,9 @@ foreach($pkg_cfg as $pkg_name => $pkg_pref) { //get preferences for each package } if(!empty($pkg_cmd)){ logger("$pkg_msg $pkg_name package..."); - usleep(100000); - $output = shell_exec($pkg_cmd); - logger($output); - usleep(100000); + shell_exec($pkg_cmd); + //$output = shell_exec($pkg_cmd); + //logger($output); }else logger($pkg_name." package up to date"); }