#761: OGAgent launchs client's default menu on activation process.

oglive^2
Ramón M. Gómez 2019-04-30 10:51:25 +02:00
parent 8ef3e73b9e
commit 16c3792567
1 changed files with 8 additions and 0 deletions

View File

@ -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