summaryrefslogtreecommitdiff
path: root/kodi-x11/kodi-x11.pre-install
blob: 33027617d6086fb1284a330a03bef94acb82158d (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

addgroup -S kodi 2>/dev/null
adduser -S -D -h /var/lib/kodi -s /sbin/nologin -G kodi kodi 2>/dev/null

for group in video dialout audio input usb; do
	adduser kodi $group 2>/dev/null
done

exit 0