From 16c3792567a43bbfef749c4d699eb808ca886a7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20M=2E=20G=C3=B3mez?= Date: Tue, 30 Apr 2019 10:51:25 +0200 Subject: [PATCH] #761: OGAgent launchs client's default menu on activation process. --- src/opengnsys/oglive/operations.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/opengnsys/oglive/operations.py b/src/opengnsys/oglive/operations.py index 342cfb0..3cdeef0 100644 --- a/src/opengnsys/oglive/operations.py +++ b/src/opengnsys/oglive/operations.py @@ -33,6 +33,7 @@ from __future__ import unicode_literals import socket import platform +import os import fcntl import subprocess import struct @@ -174,6 +175,13 @@ def poweroff(): _exec_ogcommand('/opt/opengnsys/scripts/poweroff') +def get_etc_path(): + """ + Returns etc directory path. + """ + return os.sep + 'etc' + + def get_configuration(): """ Returns client's configuration