docker-plex-wireguard/init/11_new_user.sh

16 lines
378 B
Bash
Raw Normal View History

2015-05-10 10:50:00 +02:00
#!/bin/bash
2015-07-08 22:14:21 +02:00
if [ "$(id -u abc)" != "$PUID" ]; then usermod -o -u "$PUID" abc ; fi
2015-06-30 11:48:46 -05:00
if [ "$(id -g abc)" != "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
2015-05-10 10:50:00 +02:00
echo "
-----------------------------------
Plex GID/UID
2015-05-10 10:50:00 +02:00
-----------------------------------
Plex uid: $(id -u abc)
Plex gid: $(id -g abc)
2015-05-10 10:50:00 +02:00
-----------------------------------
Plex will now continue to boot.
"
2015-06-30 11:48:46 -05:00
sleep 2