Browse Source

add debug info

#146
rootzoll 6 years ago
parent
commit
7cc50e724e
  1. 6
      home.admin/10setupBlitz.sh
  2. 2
      home.admin/assets/bootstrap.service

6
home.admin/10setupBlitz.sh

@ -14,6 +14,12 @@ echo "network(${network})"
echo "chain(${chain})"
echo "setupStep(${setupStep})"
if [ ${#network} -eq 0 ]; then
echo "FAIL: Something is wrong. There is no value for network in ${infoFile}."
echo "Should be at least default value. EXIT"
exit 1
fi
# if no setup step in info file init with 0
if [ ${#setupStep} -eq 0 ];then
echo "Init setupStep=0"

2
home.admin/assets/bootstrap.service

@ -2,7 +2,7 @@
# /etc/systemd/system/bootstrap.service
[Unit]
Description=setting up RaspiBlitz and enforcing the config on every startup
Description=execute on every startup before everything else is starting
After=network.target
[Service]

Loading…
Cancel
Save