summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/live/ogOperations.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 64e5532..2ae0104 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -362,13 +362,16 @@ class OgLiveOperations:
self._enable_wol(interface)
if shutil.which('reboot'):
busybox = ''
+ opts = ' --force --force'
elif shutil.which('busybox'):
busybox = 'busybox '
+ opts = ''
else:
logging.warning('No reboot binary found')
busybox = ''
+ opts = ''
- cmd_reboot = shlex.split(f'{busybox}reboot')
+ cmd_reboot = shlex.split(f'{busybox}reboot{opts}')
self._shutdown(interface, cmd_reboot)
def reboot(self):