mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
check raspiblitz.conf exists
This commit is contained in:
parent
c9bde3886a
commit
87e6a900b1
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ function pool() {
|
|||
|
||||
# aliases for lit
|
||||
# switch to the pool user for the Pool Service
|
||||
if [ $(grep -c "lit=on" < /mnt/hdd/raspiblitz.conf) -gt 0 ]; then
|
||||
if [ -f "/mnt/hdd/raspiblitz.conf" ] && [ $(grep -c "lit=on" < /mnt/hdd/raspiblitz.conf) -gt 0 ]; then
|
||||
source /mnt/hdd/raspiblitz.conf
|
||||
alias lit-frcli="sudo -u lit frcli --rpcserver=localhost:8443 \
|
||||
--tlscertpath=/home/lit/.lit/tls.cert \
|
||||
|
|
Loading…
Add table
Reference in a new issue