mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-23 19:49:05 +08:00
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
|
||||
|
||||
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
|
||||
. $HOME/.cargo/env
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user