Skip to content

Commit 17dd23c

Browse files
committed
no more umount in shutdown_funkey (which caused issues with sd card writing of instant action files)), back in inittab
1 parent 98c64da commit 17dd23c

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
3838
#::ctrlaltdel:/sbin/reboot
3939

4040
# Stuff to do before rebooting
41-
#::shutdown:/etc/init.d/rcK
42-
#::shutdown:/sbin/swapoff -a
43-
#::shutdown:/bin/umount -r /
44-
#::shutdown:/bin/umount -r /mnt
41+
::shutdown:/etc/init.d/rcK
42+
::shutdown:/sbin/swapoff -a
43+
::shutdown:/bin/umount -r /
44+
::shutdown:/bin/umount -r /mnt

FunKey/board/funkey/rootfs-overlay/usr/local/sbin/shutdown_funkey

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,5 @@ start_audio_amp 0 >/dev/null 2>&1
1616
# Force Read Only
1717
ro
1818

19-
# Force unmount writeable partition
20-
umount -r /mnt
21-
2219
# Poweroff
2320
poweroff

0 commit comments

Comments
 (0)