summaryrefslogtreecommitdiffstats
path: root/src/linux/ogOperations.py
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <aneira@soleta.eu>2020-02-04 14:19:03 +0100
committerAlvaro Neira Ayuso <aneira@soleta.eu>2020-02-04 14:19:38 +0100
commit38056d78a7d1c7cd7bd1d70842b6b78e3756c879 (patch)
tree56637fd2c0daa039b7d610fd65f3d3050d974dfb /src/linux/ogOperations.py
parent2934773d88c0ced60dafa365370871b29c5ba3a1 (diff)
(BUG) Rename OG_SCRIPT_PATH to OG_PATH
Diffstat (limited to 'src/linux/ogOperations.py')
-rw-r--r--src/linux/ogOperations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py
index 5459768..e941864 100644
--- a/src/linux/ogOperations.py
+++ b/src/linux/ogOperations.py
@@ -38,13 +38,13 @@ def parseGetConf(out):
def poweroff():
if os.path.exists('/scripts/oginit'):
- subprocess.call('source ' + OG_SCRIPT_PATH + 'etc/preinit/loadenviron.sh; ' + OG_SCRIPT_PATH + 'scripts/poweroff', shell=True)
+ subprocess.call('source ' + OG_PATH + 'etc/preinit/loadenviron.sh; ' + OG_PATH + 'scripts/poweroff', shell=True)
else:
subprocess.call(['/sbin/poweroff'])
def reboot():
if os.path.exists('/scripts/oginit'):
- subprocess.call('source ' + OG_SCRIPT_PATH + 'etc/preinit/loadenviron.sh; ' + OG_SCRIPT_PATH + 'scripts/reboot', shell=True)
+ subprocess.call('source ' + OG_PATH + 'etc/preinit/loadenviron.sh; ' + OG_PATH + 'scripts/reboot', shell=True)
else:
subprocess.call(['/sbin/reboot'])