pmaports/main/sxmo-common/sxmo-common.post-install
Clayton Craft a3611e3797
main/sxmo-common: don't disable polkit service in post-{install,upgrade} (MR 2755)
rc-update fails if this service is not in the default runlevel,which is
the case if it's a brand new installation, or would be the case later on
upgrading this package again after the service was already removed from
the runlevel.

The issue that c47c62e3 set out to solve isn't fatal, if polkit fails to
start by openrc then users can manually remove it from the runlevel.

partially reverts c47c62e3

[ci:skip-build] already built successfully in CI
2021-12-15 20:23:33 -08:00

7 lines
219 B
Bash

#!/bin/sh
rc-update del xdm default # TODO remove when tinydm is on stable
rc-update add sxmo-setpermissions default
rc-update add modemmanager default
rc-update add tinydm default
rc-update add networkmanager default