mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 12:25:46 +01:00
Update plugin.py
This commit is contained in:
@@ -739,7 +739,9 @@ class NeoBootInstallation(Screen):
|
||||
|
||||
def RebootSTB(self, answer):
|
||||
if answer is True:
|
||||
os.system('sync && echo 3 > /proc/sys/vm/drop_caches; reboot -d -f')
|
||||
cmd = 'echo 3 > /proc/sys/vm/drop_caches; shutdown -r now && reboot -d -f & '
|
||||
rc = os.system(cmd)
|
||||
#os.system('sync && echo 3 > /proc/sys/vm/drop_caches; reboot -d -f')
|
||||
else:
|
||||
self.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user