pmaports/main/postmarketos-ui-kodi/postmarketos-ui-kodi.post-install

5 lines
153 B
Bash

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