summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_update.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-03-21 13:11:50 +0000
committerramon <ramongomez@us.es>2014-03-21 13:11:50 +0000
commita36fbae6a7361df91db461a64c5a3a170a0ceba8 (patch)
tree89bcbbc005416b7982e1aaffdd6e1590258043d5 /installer/opengnsys_update.sh
parente1ddc835d45d35d30a66f1d89fa0ce7cf8df9e78 (diff)
#621: Mejor detección del porcentaje de uso de CPU para evitar cuelgues del servidor.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4201 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-xinstaller/opengnsys_update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index e68e23df..05f2a9e8 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -97,7 +97,7 @@ OSDISTRIB=$(lsb_release -is 2>/dev/null)
# Configuración según la distribución de Linux.
case "$OSDISTRIB" in
Ubuntu|Debian|LinuxMint)
- DEPENDENCIES=( php5-ldap xinetd rsync btrfs-tools )
+ DEPENDENCIES=( php5-ldap xinetd rsync btrfs-tools top )
UPDATEPKGLIST="apt-get update"
INSTALLPKGS="apt-get -y install --force-yes"
CHECKPKG="dpkg -s \$package 2>/dev/null | grep -q \"Status: install ok\""
@@ -111,7 +111,7 @@ case "$OSDISTRIB" in
APACHEGROUP="www-data"
;;
Fedora|CentOS)
- DEPENDENCIES=( php-ldap xinetd rsync btrfs-progs )
+ DEPENDENCIES=( php-ldap xinetd rsync btrfs-progs top )
INSTALLPKGS="yum install -y"
CHECKPKG="rpm -q --quiet \$package"
if which systemctl &>/dev/null; then