Browse Source

no more umount in shutdown_funkey (which caused issues with sd card writing of instant action files)), back in inittab

Vincent-FK 3 years ago
parent
commit
17dd23cc6c

+ 4 - 4
FunKey/board/funkey/rootfs-overlay/etc/inittab

@@ -38,7 +38,7 @@ null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
 #::ctrlaltdel:/sbin/reboot
 
 # Stuff to do before rebooting
-#::shutdown:/etc/init.d/rcK
-#::shutdown:/sbin/swapoff -a
-#::shutdown:/bin/umount -r /
-#::shutdown:/bin/umount -r /mnt
+::shutdown:/etc/init.d/rcK
+::shutdown:/sbin/swapoff -a
+::shutdown:/bin/umount -r /
+::shutdown:/bin/umount -r /mnt

+ 0 - 3
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/shutdown_funkey

@@ -16,8 +16,5 @@ start_audio_amp 0 >/dev/null 2>&1
 # Force Read Only 
 ro
 
-# Force unmount writeable partition
-umount -r /mnt
-
 # Poweroff
 poweroff