Update rpi_status.sh

Reduce program invocations