#!/command/with-contenv bashio
# shellcheck shell=bash

USER_ID=${USER_ID:-0}
GROUP_ID=${GROUP_ID:-0}

#groupmod -o -g "$GROUP_ID" ps3netsrv
#usermod -o -u "$USER_ID" ps3netsrv

echo '
-------------------------------------
GID/UID
-------------------------------------'
echo "
User uid:    $(id -u ${USER_ID})
User gid:    $(id -g ${GROUP_ID})
-------------------------------------
"

#mkdir -p /media/ps3netsrv
