8 lines
275 B
Plaintext
8 lines
275 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Enable lightdm autologin for linaro user
|
||
|
if [ -e /etc/lightdm/lightdm.conf ]; then
|
||
|
sed -i "s|^#autologin-user=.*|autologin-user=linaro|" /etc/lightdm/lightdm.conf
|
||
|
sed -i "s|^#autologin-user-timeout=.*|autologin-user-timeout=0|" /etc/lightdm/lightdm.conf
|
||
|
fi
|