summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-09-28 22:49:06 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-09-30 14:42:29 +0200
commit9c18ef7392c801e68b72e5e0e2770b9aed0a38bc (patch)
tree1a14cfb845cbb2138d982cdcdc9b3c546fdbe743 /src
parent9c2ae873f2e52a596b60a277b64d8cf2130eba40 (diff)
live: use busybox otherwise poweroff/reboot commands
Diffstat (limited to 'src')
-rw-r--r--src/live/ogOperations.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 77e6514..d0a848b 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -346,11 +346,11 @@ class OgLiveOperations:
interface = os.getenv('DEVICE')
cmd_ethtool = shlex.split(f'ethtool -s {interface} wol g')
cmd_browser = shlex.split('pkill -9 browser')
- if not shutil.which('busyboxOLD'):
- busybox = 'busybox'
+ if shutil.which('busybox'):
+ busybox = 'busybox '
else:
- busybox = shutil.which('busyboxOLD')
- cmd_busybox = shlex.split(f'{busybox} {operation}')
+ busybox = ''
+ cmd_busybox = shlex.split(f'{busybox}{operation}')
umount_all()
umount_cache()