diff --git a/plugins/mariadb/index.py b/plugins/mariadb/index.py index bed83d156..cbe8b5181 100755 --- a/plugins/mariadb/index.py +++ b/plugins/mariadb/index.py @@ -198,11 +198,6 @@ def initDreplace(version=''): def status(version=''): - data = mw.execShell( - "ps -ef|grep mysqld |grep -v grep | grep -v python | awk '{print $2}'") - if data[0] == '': - return 'stop' - pid = getPidFile() if not os.path.exists(pid): return 'stop' diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 92198e17b..8a4898ae2 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -198,11 +198,6 @@ def initDreplace(version=''): def status(version=''): - data = mw.execShell( - "ps -ef|grep mysqld |grep -v grep | grep -v python | awk '{print $2}'") - if data[0] == '': - return 'stop' - pid = getPidFile() if not os.path.exists(pid): return 'stop'