From 09b0b4fa0e04b7368d767823b97ee13c6f6a9305 Mon Sep 17 00:00:00 2001 From: Jarno Rantanen Date: Tue, 10 Mar 2020 10:17:30 +0200 Subject: [PATCH] Update CLI-auto-login to match updated raspi-config. --- docs/image-setup.sh | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/docs/image-setup.sh b/docs/image-setup.sh index e7596af..cde0c2d 100755 --- a/docs/image-setup.sh +++ b/docs/image-setup.sh @@ -180,23 +180,19 @@ ssh "echo $LOCALE | sudo tee /etc/locale.gen" ssh "sudo locale-gen" ssh "echo -e \"LANGUAGE=$LANGUAGE\nLC_ALL=$LANGUAGE\" | sudo tee /etc/environment" +# From raspi-config: https://github.com/RPi-Distro/raspi-config/blob/c0ddae8a2e99ecf15759c7cb8f0681cb0e7ce63a/raspi-config#L1141 +# See also: https://github.com/futurice/chilipie-kiosk/issues/61#issuecomment-524622522 working "Enabling auto-login to CLI" -# From: https://github.com/RPi-Distro/raspi-config/blob/985548d7ca00cab11eccbb734b63750761c1f08a/raspi-config#L955 -SUDO_USER=pi -AUTOLOG="$(cat <