Moved it to a better place.

This commit is contained in:
Stian Buch Larsen 2015-07-15 18:29:19 +02:00
parent 53a8b4cab5
commit 05c2c645a9

View file

@ -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
"