summaryrefslogtreecommitdiffstats
path: root/src/live/ogOperations.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/live/ogOperations.py')
-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()