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

6 lines
190 B
Bash

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