summaryrefslogtreecommitdiffstats
path: root/src/linux/ogOperations.py
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <aneira@soleta.eu>2019-12-12 15:53:38 +0100
committerAlvaro Neira Ayuso <alvaroneay@gmail.com>2020-01-19 19:50:44 +0100
commitebd640a9c5d308c0ba115fea6c8cc0666010eab6 (patch)
tree62cd0994d373005755df84fa4f539d870cef8fad /src/linux/ogOperations.py
parentbfdeae840c95fb9da504af795179be65c6286326 (diff)
Add ogProcess and ogOperation for linux
Thoses new classes allows us to process and execute commands from server side sent using HTTP format.
Diffstat (limited to 'src/linux/ogOperations.py')
-rw-r--r--src/linux/ogOperations.py3
1 files changed, 3 insertions, 0 deletions
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'
+