pmaports/main/postmarketos-ui-plasma-mobile/postmarketos-ui-plasma-mobile.post-install
Bart Ribbers 820c3a3a31
main/postmarketos-ui-plasma-mobile: enable ofono by default (!971)
We should do this in the UI packages that need it rather than in the
device packages themselves because for example Phosh doesn't need Ofono
but ModemManager
2020-02-29 22:37:53 +01:00

8 lines
251 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 urfkill default
rc-update add ofono default
rc-update add ofono-auto-enable default