From 269c7b505501ef24a4839b92afeb4fe15f3ced38 Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Wed, 13 May 2020 17:30:12 +0200 Subject: Rename operation 'execCMD' to 'shellrun' This patch also ignores calls to shellrun when virtual mode is activated. --- src/linux/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linux') diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py index ab58cd7..e194468 100644 --- a/src/linux/ogOperations.py +++ b/src/linux/ogOperations.py @@ -68,7 +68,7 @@ class OgLinuxOperations: else: subprocess.call(['/sbin/reboot']) - def execCMD(self, request, ogRest): + def shellrun(self, request, ogRest) cmd = request.getrun() cmds = cmd.split(";|\n\r") -- cgit v1.2.3-18-g5258