#761: OGAgent launchs client's default menu on activation process.
parent
8ef3e73b9e
commit
16c3792567
|
@ -33,6 +33,7 @@ from __future__ import unicode_literals
|
||||||
|
|
||||||
import socket
|
import socket
|
||||||
import platform
|
import platform
|
||||||
|
import os
|
||||||
import fcntl
|
import fcntl
|
||||||
import subprocess
|
import subprocess
|
||||||
import struct
|
import struct
|
||||||
|
@ -174,6 +175,13 @@ def poweroff():
|
||||||
_exec_ogcommand('/opt/opengnsys/scripts/poweroff')
|
_exec_ogcommand('/opt/opengnsys/scripts/poweroff')
|
||||||
|
|
||||||
|
|
||||||
|
def get_etc_path():
|
||||||
|
"""
|
||||||
|
Returns etc directory path.
|
||||||
|
"""
|
||||||
|
return os.sep + 'etc'
|
||||||
|
|
||||||
|
|
||||||
def get_configuration():
|
def get_configuration():
|
||||||
"""
|
"""
|
||||||
Returns client's configuration
|
Returns client's configuration
|
||||||
|
|
Loading…
Reference in New Issue