Browse Source

Update comments

pull/104/head
Xavier Petit 6 years ago committed by Clément
parent
commit
2764d5fb68
  1. 1
      scripts/install_client.sh
  2. 4
      scripts/system/etc/gdm3/PostLogin/Default

1
scripts/install_client.sh

@ -60,7 +60,6 @@ cp -r system /tmp
cd /tmp/system cd /tmp/system
sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules 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) 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 sed -i -e "s|::PART::|$PART|g" usr/share/initramfs-tools/scripts/init-premount/reformat

4
scripts/system/etc/gdm3/PostLogin/Default

@ -28,7 +28,7 @@ set -x
sleep 0.5 sleep 0.5
# Find the first removable F2FS partition # Find the removable F2FS partition
PART=$(lsblk -pro kname,partlabel | grep 01-home) PART=$(lsblk -pro kname,partlabel | grep 01-home)
# Make sure the mountpoints are free # Make sure the mountpoints are free
@ -42,7 +42,7 @@ if test "$PART"
then then
mount -o noatime "$PART" /mnt mount -o noatime "$PART" /mnt
else 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) PART=$(lsblk -pro kname,partlabel | grep 01-tmp-home)
if test -z "$PART" if test -z "$PART"

Loading…
Cancel
Save