You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
442 B

#!/bin/bash
set -e
# if a command was specified, we run that command. E.g. helpful when we do
# docker run -it <container> /bin/bash
if [ "${1}" ]
then
exec "$@"
# otherwise we attempt to run boinc.
else
/opt/fahclient/FAHClient \
--user="${USER}" \
--team="${TEAM}" \
--passkey="${PASSKEY}" \
--gpu="${ENABLE_GPU}" \
--smp="${ENABLE_SMP}" \
--power=full \
--gui-enabled=false \
"${@}"
fi