mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-19 02:22:24 +01:00
add debug info
This commit is contained in:
@@ -14,6 +14,12 @@ echo "network(${network})"
|
|||||||
echo "chain(${chain})"
|
echo "chain(${chain})"
|
||||||
echo "setupStep(${setupStep})"
|
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 no setup step in info file init with 0
|
||||||
if [ ${#setupStep} -eq 0 ];then
|
if [ ${#setupStep} -eq 0 ];then
|
||||||
echo "Init setupStep=0"
|
echo "Init setupStep=0"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# /etc/systemd/system/bootstrap.service
|
# /etc/systemd/system/bootstrap.service
|
||||||
|
|
||||||
[Unit]
|
[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
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|||||||
Reference in New Issue
Block a user