Update mips_run.py

This commit is contained in:
gutosie
2022-03-11 11:55:50 +02:00
committed by GitHub
parent 9f5d6bc6d1
commit e89a6101a0

View File

@@ -139,6 +139,6 @@ def getTurnOffOnSystem():
if "dm500hd" in line or "dm800se" in line or "dm800" in line or "dm800se" in line or "dm8000" in line:
if fileExists('%sImageBoot/%s/squashfs-images' % (getNeoLocation(), getImageNeoBoot())):
os.system('ln -sf "%sImageBoot/%s/squashfs-images" "//squashfs-images"' % (getNeoLocation(), getImageNeoBoot()))
os.system('echo 3 > /proc/sys/vm/drop_caches; shutdown -r now & sleep 2 & reboot -d -h -i &')
os.system('echo 3 > /proc/sys/vm/drop_caches; shutdown now -r; reboot -f -d -h -i')