pmaports/main/postmarketos-base-ui/postmarketos-base-ui.post-install
Clayton Craft bfa873343a
main/postmarketos-base-ui: setup cgroups on boot (MR 4585)
Allows things like podman/docker to work out of the box.

I looked at /etc/init.d/cgroups, and having this service enabled isn't a
problem if the kernel doesn't have cgroup support... in that situation,
the service script just simply exits (success).

[ci:skip-build] already built successfully in CI
2023-12-01 10:24:28 -08:00

6 lines
131 B
Bash

#!/bin/sh -e
for service in cgroups dbus haveged wpa_supplicant chronyd rfkill; do
rc-update -q add $service default
done
exit 0