diff options
author | Karel Kočí <cynerd@email.cz> | 2020-02-13 08:31:23 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-02-13 08:31:23 +0100 |
commit | 3ec4d97a54ea72054638fec340bd58819b30ec01 (patch) | |
tree | 305f6e726d0f7571ca8cffe7dfd09fb59e3bcf2f /kodi-rpi/kodi-gbm.pre-install | |
parent | 3051cb1d103c8e600346a1a5be268c1343c54f46 (diff) | |
download | alpine-personal-pkgs-3ec4d97a54ea72054638fec340bd58819b30ec01.tar.gz alpine-personal-pkgs-3ec4d97a54ea72054638fec340bd58819b30ec01.tar.bz2 alpine-personal-pkgs-3ec4d97a54ea72054638fec340bd58819b30ec01.zip |
kodi-rpi: rename from kodi and try to improve and clean
Diffstat (limited to 'kodi-rpi/kodi-gbm.pre-install')
-rw-r--r-- | kodi-rpi/kodi-gbm.pre-install | 10 |
1 files changed, 10 insertions, 0 deletions
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 |