parlink.sh: set driver with args
Former-commit-id: ee3acc4d63fd630009353ddbc58de7b8eb9182be
This commit is contained in:
parent
effe441b56
commit
fd15441dfe
@ -5,6 +5,12 @@ PARSEC_BIN="/usr/bin/parsecd"
|
|||||||
PARSEC_ARGS="app_daemon=1"
|
PARSEC_ARGS="app_daemon=1"
|
||||||
PARSEC_URL="https://parsecgaming.com"
|
PARSEC_URL="https://parsecgaming.com"
|
||||||
PARSEC_PROCESS=$(ps -A | grep -c parsecd)
|
PARSEC_PROCESS=$(ps -A | grep -c parsecd)
|
||||||
|
CARD_ID="$1"
|
||||||
|
|
||||||
|
if [ ! -z ${CARD_ID} ];then
|
||||||
|
echo "Setting LIBVA_DRIVER_NAME to: ${CARD_ID}"
|
||||||
|
export LIBVA_DRIVER_NAME=${CARD_ID}
|
||||||
|
fi
|
||||||
|
|
||||||
while [ ${PARSEC_PROCESS} != "1" ];do
|
while [ ${PARSEC_PROCESS} != "1" ];do
|
||||||
if [ ! -f ${PARSEC_BIN} ];then
|
if [ ! -f ${PARSEC_BIN} ];then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user