1
0
mirror of synced 2025-12-17 04:52:15 +01:00

Add ps3netsrv

This commit is contained in:
d-two
2022-12-22 19:43:59 +01:00
committed by GitHub
parent 26188fc9f7
commit 3114c918a1
17 changed files with 1145 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
USER_ID=${USER_ID:-1000}
GROUP_ID=${GROUP_ID:-1000}
groupmod -o -g "$GROUP_ID" ps3netsrv
usermod -o -u "$USER_ID" ps3netsrv
echo '
-------------------------------------
GID/UID
-------------------------------------'
echo "
User uid: $(id -u ps3netsrv)
User gid: $(id -g ps3netsrv)
-------------------------------------
"
mkdir -p /share/ps3netsrv