mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-18 11:40:33 +02:00
move ssh repair to first wait loop
This commit is contained in:
@@ -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}
|
||||||
|
Reference in New Issue
Block a user