#761: OGAgent launchs client's default menu on activation process.
parent
f2c21d888a
commit
7ad4f2f559
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue