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

11 lines
328 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 bluetooth default
rc-update add elogind default
rc-update add lightdm default
rc-update add networkmanager default
# Needed to fully revert pma!3887
rc-update -qq del tinydm default || true