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

8 lines
245 B
Text
Raw Normal View History

#!/bin/sh
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-autologin.conf
sed -i "s/^Exec=weston$/Exec=start_weston.sh/g" /usr/share/wayland-sessions/weston.desktop
rc-update add lightdm default