parent
501683a3d5
commit
0a89101b94
@ -1,31 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
|
||||
|
||||
PUID=${PUID:-911}
|
||||
PGID=${PGID:-911}
|
||||
|
||||
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
|
||||
|
||||
echo "
|
||||
-------------------------------------
|
||||
_ _ _
|
||||
| |___| (_) ___
|
||||
| / __| | |/ _ \
|
||||
| \__ \ | | (_) |
|
||||
|_|___/ |_|\___/
|
||||
|_|
|
||||
|
||||
Brought to you by linuxserver.io
|
||||
We do accept donations at:
|
||||
https://www.linuxserver.io/donations
|
||||
-------------------------------------
|
||||
GID/UID
|
||||
-------------------------------------
|
||||
User uid: $(id -u abc)
|
||||
User gid: $(id -g abc)
|
||||
-------------------------------------
|
||||
"
|
||||
chown abc:abc /config
|
||||
chown abc:abc /defaults
|
Loading…
Reference in new issue