diff options
Diffstat (limited to 'kodi-x11/kodi-x11.pre-install')
-rw-r--r-- | kodi-x11/kodi-x11.pre-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kodi-x11/kodi-x11.pre-install b/kodi-x11/kodi-x11.pre-install new file mode 100644 index 0000000..3302761 --- /dev/null +++ b/kodi-x11/kodi-x11.pre-install @@ -0,0 +1,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 |