mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
move ssh repair to first wait loop
This commit is contained in:
parent
2172de1b55
commit
625c010896
1 changed files with 3 additions and 3 deletions
|
@ -251,6 +251,9 @@ else
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
# make sure SSH server is configured & running (before first wait loop)
|
||||||
|
sudo /home/admin/config.scripts/blitz.ssh.sh checkrepair >> $logFile
|
||||||
|
|
||||||
###############################
|
###############################
|
||||||
# WAIT FOR ALL SERVICES
|
# WAIT FOR ALL SERVICES
|
||||||
|
|
||||||
|
@ -354,9 +357,6 @@ do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
# make sure SSH server is configured & running
|
|
||||||
sudo /home/admin/config.scripts/blitz.ssh.sh checkrepair >> $logFile
|
|
||||||
|
|
||||||
# write info for LCD
|
# write info for LCD
|
||||||
sed -i "s/^state=.*/state=inspect-hdd/g" ${infoFile}
|
sed -i "s/^state=.*/state=inspect-hdd/g" ${infoFile}
|
||||||
sed -i "s/^message=.*/message='please wait'/g" ${infoFile}
|
sed -i "s/^message=.*/message='please wait'/g" ${infoFile}
|
||||||
|
|
Loading…
Add table
Reference in a new issue