istoreos/package/base-files/files/etc/hotplug.d/block/11-umount
jjm2473 c7ed48a1e4 package/base-files: umount detached disk
workaround block-mount bug on shared mountpoint
2022-08-24 18:40:14 +08:00

4 lines
64 B
Plaintext

if [ "$ACTION" = "remove" ]; then
umount "/dev/$DEVNAME"
fi