From ca0d184a43ae35f09fc4dd49f4b0d14464f96291 Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Tue, 3 Nov 2020 18:03:44 +0100 Subject: [PATCH] shutdown_funkey forces a last ro --- .../rootfs-overlay/usr/local/sbin/shutdown_funkey | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/shutdown_funkey b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/shutdown_funkey index 0d9c312..9f1dc45 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/shutdown_funkey +++ b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/shutdown_funkey @@ -3,20 +3,11 @@ # Notif fullscreen "Shutting down" notif_set 0 "^^^^^^^^ SHUTTING DOWN...^^^^^^^^" -# Kill Emulators -#kill_emulators >/dev/null 2>&1 - -# Kill Retrofe -#pkill retrofe - -# Sync filesystems (useful in case poweroff could not finish) -sync - -# Unmount Roms partition -#umount /mnt - # Shutdown amp start_audio_amp 0 >/dev/null 2>&1 +# Force Read Only +ro + # Poweroff poweroff