--- /etc/rc.d/swap1.orig	2016-03-13 18:54:23.000000000 +0100
+++ /etc/rc.d/swap1	2016-03-13 20:20:43.000000000 +0100
@@ -31,8 +31,19 @@
 swap1_stop()
 {
 	if checkyesno swapoff || [ -n "$rc_force" ]; then
-		echo "Forcibly unmounting tmpfs filesystems"
-		umount -aft tmpfs
+		case ${swap_backed_tmpfs} in
+			ALL)
+				echo "Forcibly unmounting tmpfs filesystems"
+				umount -aft tmpfs
+				;;
+			*)
+				for fs in ${swap_backed_tmpfs}
+				do
+					echo "Forcibly unmounting ${fs}"
+					umount -ft tmpfs ${fs}
+				done
+				;;
+		esac
 		echo "Removing block-type swap devices"
 		swapctl -U -t blk || [ $? = 2 ]
 	fi
