2019-05-27 22:55:19 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-10-10 08:05:48 +00:00
|
|
|
rc-update add tinydm default
|
2020-02-20 12:08:16 +00:00
|
|
|
rc-update add modemmanager default
|
2020-06-20 07:32:18 +00:00
|
|
|
rc-update add bluetooth default
|
2020-05-11 22:30:31 +00:00
|
|
|
rc-update add iio-sensor-proxy default
|
2021-05-15 16:26:28 +00:00
|
|
|
rc-update add networkmanager default
|
2022-02-26 02:20:16 +00:00
|
|
|
rc-update add waked default
|
2020-07-06 13:45:22 +00:00
|
|
|
dconf update
|
2020-10-10 08:05:48 +00:00
|
|
|
tinydm-set-session -s /usr/share/wayland-sessions/phosh.desktop
|
2021-01-27 16:08:06 +00:00
|
|
|
|
|
|
|
# Add the user to relevant groups in post-upgrade (symlink to post-install).
|
|
|
|
# Note that we don't want to rely on users existing in post-install
|
|
|
|
# (pmaports#820), therefore the group is also set via _pmb_groups during
|
|
|
|
# 'pmbootstrap install'. When adding a new group here, keep _pmb_groups in
|
|
|
|
# sync.
|
|
|
|
default_user=$(getent passwd "10000" | cut -d: -f1)
|
|
|
|
if [ -n "$default_user" ]; then
|
|
|
|
usermod -aG feedbackd "$default_user"
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|