I will delete the Langstone/stop command in the Portsdown update that is about to be published.
The reason that I did not see the problem is that one of my Plutos has the old stock v0.30 firmware. This does not respond to a simple reboot command sent by sshpass, because the path is not set for non-shell logins. I have changed the reboot command line in Portsdown to:
Code: Select all
timeout 2 sshpass -p analog ssh -o StrictHostKeyChecking=no root@"$PLUTOIP" 'PATH=/bin:/sbin:/usr/bin:/usr/sbin;reboot'
Dave