summaryrefslogtreecommitdiff
path: root/pcr/polkit-consolekit/polkit.install
blob: e917e0095784ab1c1c7837f0b4c91e024b3cd01d (plain)
1
2
3
4
5
6
7
8
9
post_install() {
       getent group polkitd >/dev/null || groupadd -g 102 polkitd
       getent passwd polkitd >/dev/null || useradd -c 'Policy Kit Daemon' -u 102 -g polkitd -d '/' -s /bin/false polkitd
       passwd -l polkitd &>/dev/null
}

post_upgrade() {
       post_install
}