diff options
author | ramon <ramongomez@us.es> | 2014-03-21 13:11:50 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-03-21 13:11:50 +0000 |
commit | a36fbae6a7361df91db461a64c5a3a170a0ceba8 (patch) | |
tree | 89bcbbc005416b7982e1aaffdd6e1590258043d5 /installer/opengnsys_update.sh | |
parent | e1ddc835d45d35d30a66f1d89fa0ce7cf8df9e78 (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-x | installer/opengnsys_update.sh | 4 |
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 |