From ebd640a9c5d308c0ba115fea6c8cc0666010eab6 Mon Sep 17 00:00:00 2001 From: Alvaro Neira Ayuso Date: Thu, 12 Dec 2019 15:53:38 +0100 Subject: Add ogProcess and ogOperation for linux Thoses new classes allows us to process and execute commands from server side sent using HTTP format. --- src/linux/__init__.py | 0 src/linux/ogOperations.py | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 src/linux/__init__.py create mode 100644 src/linux/ogOperations.py (limited to 'src/linux') diff --git a/src/linux/__init__.py b/src/linux/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py new file mode 100644 index 0000000..e11fb0d --- /dev/null +++ b/src/linux/ogOperations.py @@ -0,0 +1,3 @@ +def poweroff(): + print 'APAGADO' + -- cgit v1.2.3-18-g5258