From dcfad93579848d27a8f63be455d0068223ad7cfb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 25 Nov 2021 19:09:23 +0100 Subject: [PATCH] Update 00-global_var.sh --- enedisgateway2mqtt/rootfs/scripts/00-global_var.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh b/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh index 114ca2360..1b70524de 100644 --- a/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh +++ b/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh @@ -27,15 +27,3 @@ if [ ! -z "TZ" ] && [ -f /etc/localtime ]; then echo "WARNING : Timezone $TZ is invalid, it will be kept to default value of $(cat /etc/timezone)" fi fi - -############ -# Set user # -############ - -if [ ! -z "PUID" ] && [ ! -z "GUID" ]; then - echo "Custom user defined : $PUID:$GUID" -PUID=${PUID:-911} -PGID=${PGID:-911} -groupmod -o -g "$PGID" abc -usermod -o -u "$PUID" abc -fi