From 3ec4d97a54ea72054638fec340bd58819b30ec01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Feb 2020 08:31:23 +0100 Subject: kodi-rpi: rename from kodi and try to improve and clean --- kodi-rpi/kodi-gbm.pre-install | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 kodi-rpi/kodi-gbm.pre-install (limited to 'kodi-rpi/kodi-gbm.pre-install') diff --git a/kodi-rpi/kodi-gbm.pre-install b/kodi-rpi/kodi-gbm.pre-install new file mode 100644 index 0000000..03b2e52 --- /dev/null +++ b/kodi-rpi/kodi-gbm.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 audio input; do + adduser kodi $group 2>/dev/null +done + +exit 0 -- cgit v1.2.3