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

9 lines
272 B
Bash

#!/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
dconf update