From e89a6101a0b0356ba70f5e7b60a2686f23d38963 Mon Sep 17 00:00:00 2001 From: gutosie Date: Fri, 11 Mar 2022 11:55:50 +0200 Subject: [PATCH] Update mips_run.py --- NeoBoot/tmpfiles/runpy/mips_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NeoBoot/tmpfiles/runpy/mips_run.py b/NeoBoot/tmpfiles/runpy/mips_run.py index da5c5c2..23813b6 100644 --- a/NeoBoot/tmpfiles/runpy/mips_run.py +++ b/NeoBoot/tmpfiles/runpy/mips_run.py @@ -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')