smlinux/base/polkit/doinst.sh
PktSurf 887b96a3e3 Added dmraid, iniparser, mozjs, libatasmart, libblockdev, libbytesize,
libyaml, ndctl, polkit, udisks to base and updated base build list
Fixed base/gcc-libs build file
Removed old incomplete base/rust build file
2022-02-28 09:37:31 +05:30

8 lines
209 B
Bash

if ! getent group polkitd ; then
addgroup -S -g 115 polkitd
fi
if ! getent passwd polkitd ; then
adduser -D -S -u 115 -G polkitd -s "/bin/false" -g "Policykit Daemon Owner" -h "/etc/polkit-1" polkitd
fi