#!/bin/sh sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-autologin.conf rc-update add lightdm default rc-update add modemmanager default rc-update add bluetooth default rc-update add iio-sensor-proxy default