From 2764d5fb68c352b0384eebebdde3d5a4fefccdb1 Mon Sep 17 00:00:00 2001 From: Xavier Petit Date: Fri, 3 May 2019 17:05:42 +0100 Subject: [PATCH] Update comments --- scripts/install_client.sh | 1 - scripts/system/etc/gdm3/PostLogin/Default | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install_client.sh b/scripts/install_client.sh index 2be595d93..f91b40220 100755 --- a/scripts/install_client.sh +++ b/scripts/install_client.sh @@ -60,7 +60,6 @@ cp -r system /tmp cd /tmp/system sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules -# Fourth local partition PART=$(lsblk -pro kname,partlabel | grep 01-tmp-system | cut -d' ' -f1) sed -i -e "s|::PART::|$PART|g" usr/share/initramfs-tools/scripts/init-premount/reformat diff --git a/scripts/system/etc/gdm3/PostLogin/Default b/scripts/system/etc/gdm3/PostLogin/Default index 0f6051594..18b0bb909 100755 --- a/scripts/system/etc/gdm3/PostLogin/Default +++ b/scripts/system/etc/gdm3/PostLogin/Default @@ -28,7 +28,7 @@ set -x sleep 0.5 -# Find the first removable F2FS partition +# Find the removable F2FS partition PART=$(lsblk -pro kname,partlabel | grep 01-home) # Make sure the mountpoints are free @@ -42,7 +42,7 @@ if test "$PART" then mount -o noatime "$PART" /mnt else - # No removable F2FS partition found, use the third local partition instead + # No removable F2FS partition found PART=$(lsblk -pro kname,partlabel | grep 01-tmp-home) if test -z "$PART"