From 7076a6851ca78f05db5fccf4b23049ce48805d90 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 13 Jun 2025 21:08:00 -0600 Subject: [PATCH] 1749870480 --- full_status.sh | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/full_status.sh b/full_status.sh index 0efa13d..2350e3f 100644 --- a/full_status.sh +++ b/full_status.sh @@ -1,4 +1,10 @@ #!/bin/bash + +function hold_for_enter() { + echo -e "\nPress ENTER to Continue..." + read -p "" +} + # status of services bash ./services.sh status @@ -26,15 +32,31 @@ watch -n 10 chronyc tracking clear echo -e "Detecting I2C Devices\n" sudo i2cdetect -y 1 -echo -e "\nPress ENTER to Continue..." -read -p "" +hold_for_enter # rtc clear echo -e "Reading from hardware RTC\n" sudo hwclock -r -echo -e "\nPress ENTER to Continue..." -read -p "" + +# devices +## tty devices +clear +echo "tty devices" +ls -lAh /dev/tty* +hold_for_enter + +## pps devices +clear +echo "pps devices" +ls -lAh /dev/pps* +hold_for_enter + +# i2c devices +clear +echo "i2c devices" +ls -lAh /dev/i2c* +hold_for_enter # clean up clear \ No newline at end of file