#!/bin/sh groupadd -g 1000 aid_system groupadd -g 1003 aid_graphics groupadd -g 1004 aid_input groupadd -g 1005 aid_audio groupadd -g 3001 aid_net_bt_admin groupadd -g 3002 aid_net_bt groupadd -g 3003 aid_inet groupadd -g 3004 aid_inet_raw groupadd -g 3005 aid_inet_admin usermod -a -G aid_system,aid_graphics,aid_input,aid_audio,aid_net_bt_admin,aid_net_bt,aid_inet,aid_inet_raw,aid_inet_admin user rc-update add cgroups default rc-update add lxc-android default # postmarketOS firmware loader conflicts with ueventd one if [ -f "/etc/udev/rules.d/50-firmware.rules" ]; then rm /etc/udev/rules.d/50-firmware.rules fi