mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-05 05:35:39 +01:00
Update plugin.py
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user