Update plugin.py

This commit is contained in:
gutosie
2022-01-19 22:35:03 +02:00
committed by GitHub
parent 538e85ebd8
commit e396451f6a

View File

@@ -740,7 +740,7 @@ class NeoBootInstallation(Screen):
def RebootSTB(self, answer): def RebootSTB(self, answer):
if answer is True: if answer is True:
cmd = 'echo 3 > /proc/sys/vm/drop_caches; shutdown -r now && reboot -d -f & ' cmd = 'echo 3 > /proc/sys/vm/drop_caches; shutdown -r now ;sleep 1; reboot -d -f &'
rc = os.system(cmd) rc = os.system(cmd)
#os.system('sync && echo 3 > /proc/sys/vm/drop_caches; reboot -d -f') #os.system('sync && echo 3 > /proc/sys/vm/drop_caches; reboot -d -f')
else: else: