From 5e0512720037a5828014a6a0091ebd6308391727 Mon Sep 17 00:00:00 2001 From: Xavier Petit Date: Mon, 29 Apr 2019 17:33:11 +0100 Subject: [PATCH] Allow multiple types of F2FS disks --- scripts/system/etc/gdm3/PostLogin/Default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/etc/gdm3/PostLogin/Default b/scripts/system/etc/gdm3/PostLogin/Default index 2f709a79..e39c9950 100755 --- a/scripts/system/etc/gdm3/PostLogin/Default +++ b/scripts/system/etc/gdm3/PostLogin/Default @@ -30,7 +30,7 @@ sleep 0.5 # Find the first removable F2FS partition PART=$(lsblk -o tran,kname,hotplug,type,fstype -pr | - grep '1 part f2fs' | + grep -e '1 part f2fs' -e '1 disk f2fs' | cut -d' ' -f2 | sort | head -n1)