From feb11d3308e77417535cb2f0132fc388a554b458 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Mon, 24 Aug 2015 13:17:56 +0200 Subject: [PATCH] Removed new-user script (Included in baseimage aug 28) --- init/10_new_user.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 init/10_new_user.sh diff --git a/init/10_new_user.sh b/init/10_new_user.sh deleted file mode 100644 index 0e50749..0000000 --- a/init/10_new_user.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -#This File should always be included, its the one that makes PUID and GUID Work. -# - -if [ ! "$(id -u abc)" -eq "$PUID" ]; then usermod -o -u "$PUID" abc ; fi -if [ ! "$(id -g abc)" -eq "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi -chown abc:abc -R /config -echo " ------------------------------------ -GID/UID ------------------------------------ -User uid: $(id -u abc) -User gid: $(id -g abc) ------------------------------------ -"