mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-27 02:01:53 +01:00
#420 more tolerant on detection ssh.reset
This commit is contained in:
parent
0a44c12d12
commit
3604dd7ffe
@ -147,7 +147,7 @@ fi
|
||||
# the sd card - switch to hdmi
|
||||
################################
|
||||
|
||||
forceHDMIoutput=$(sudo ls /boot/hdmi 2>/dev/null | grep -c hdmi)
|
||||
forceHDMIoutput=$(sudo ls /boot/hdmi* 2>/dev/null | grep -c hdmi)
|
||||
if [ ${forceHDMIoutput} -eq 1 ]; then
|
||||
# delete that file (to prevent loop)
|
||||
sudo rm /boot/hdmi
|
||||
@ -163,7 +163,7 @@ fi
|
||||
# the sd card - switch to hdmi
|
||||
################################
|
||||
|
||||
sshReset=$(sudo ls /boot/ssh.reset 2>/dev/null | grep -c reset)
|
||||
sshReset=$(sudo ls /boot/ssh.reset* 2>/dev/null | grep -c reset)
|
||||
if [ ${sshReset} -eq 1 ]; then
|
||||
# delete that file (to prevent loop)
|
||||
sudo rm /boot/ssh.reset
|
||||
|
Loading…
x
Reference in New Issue
Block a user