Delete this code
This code is unnessesary and bug casing with previous fix
This commit is contained in:
parent
8be912a8cf
commit
0db250f02a
@ -1,13 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "$(id -u)" != "${PUID:-1000}" ] || [ "$(id -g)" != "${PGID:-1000}" ]; then
|
|
||||||
usermod -o -u "${PUID:-1000}" user
|
|
||||||
groupmod -o -g "${PGID:-1000}" user
|
|
||||||
chown -R user /home/user
|
|
||||||
sudo -u user /entrypoint $@
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $HOME/rustdesk
|
cd $HOME/rustdesk
|
||||||
. $HOME/.cargo/env
|
. $HOME/.cargo/env
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user