mirror of
https://github.com/linuxserver/docker-nginx.git
synced 2026-02-12 05:18:29 +08:00
Removed new-user script (Included in baseimage aug 28)
This commit is contained in:
parent
359bcdb184
commit
feb11d3308
@ -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)
|
||||
-----------------------------------
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user