1#!/bin/sh 2 3# Enable gdm3 autologin for linaro user 4if [ -e /etc/gdm3/daemon.conf ]; then 5 sed -i "s|^# AutomaticLoginEnable = .*|AutomaticLoginEnable = true|" /etc/gdm3/daemon.conf 6 sed -i "s|^# AutomaticLogin = .*|AutomaticLogin = linaro|" /etc/gdm3/daemon.conf 7fi 8