Moved it to a better place.
This commit is contained in:
parent
53a8b4cab5
commit
05c2c645a9
1 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! "$(id -u abc)" -eq "$PUID" ]; then usermod -u "$PUID" abc ; fi
|
||||
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
|
||||
|
@ -10,6 +10,4 @@ GID/UID
|
|||
User uid: $(id -u abc)
|
||||
User gid: $(id -g abc)
|
||||
-----------------------------------
|
||||
"
|
||||
|
||||
chown -R abc:abc /config
|
||||
"
|
Loading…
Add table
Reference in a new issue