Removed warning for LibreOffice on port 8100
This commit is contained in:
parent
01f5a061ba
commit
be47d732e9
@ -743,7 +743,7 @@ check_configuration() {
|
||||
libreoffice_version=$(dpkg-query -W --showformat='${Version}\n' libreoffice | sed 's/.*://g' | sed 's/\.[^\.]*$//g')
|
||||
if [[ "$libreoffice_version" > 1.0 ]]; then
|
||||
if [[ "$libreoffice_version" < 4.4 ]]; then
|
||||
echo "# Warning: Detected your running an older version of LibreOffice: $libreoffice_version"
|
||||
echo "# Warning: Detected you are running an older version of LibreOffice: $libreoffice_version"
|
||||
echo "#"
|
||||
echo "# Recommend updated to the latest version of LibreOffice 4.x (4.4 or later)"
|
||||
echo
|
||||
@ -841,13 +841,6 @@ check_state() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! netstat -ant | grep '8100' > /dev/null; then
|
||||
print_header
|
||||
NOT_RUNNING_APPS="${NOT_RUNNING_APPS} LibreOffice"
|
||||
else
|
||||
RUNNING_APPS="${RUNNING_APPS} LibreOffice"
|
||||
fi
|
||||
|
||||
if ! ps aux | grep -v grep | grep '[/]usr/[s]*bin/redis-server' > /dev/null; then
|
||||
print_header
|
||||
NOT_RUNNING_APPS="${NOT_RUNNING_APPS} redis-server"
|
||||
|
Loading…
Reference in New Issue
Block a user