From 6b4e6710ad6853f8f0dddbc3f5d53684777382b6 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 13 Jun 2025 23:04:31 -0600 Subject: [PATCH] 1749877472 --- debug-level-conf/docs.md | 20 +++++++++++++++++++- installer1.sh | 4 ++-- installer2.sh | 4 ++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/debug-level-conf/docs.md b/debug-level-conf/docs.md index 07eb209..3e616f4 100644 --- a/debug-level-conf/docs.md +++ b/debug-level-conf/docs.md @@ -1,5 +1,5 @@ ## Install -1. `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/installer_auto.sh?nocache=$RANDOM | sudo "$SHELL"` +1. `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/installer_auto.sh?nocache=$RANDOM | sudo $SHELL` 3. `bash ~/Precision-Timekeeping-Fuckery/installer1.sh` (will reboot) 5. `bash ~/Precision-Timekeeping-Fuckery/installer2.sh` (will reboot) 6. `bash ~/Precision-Timekeeping-Fuckery/installer3.sh` (will reboot) @@ -13,3 +13,21 @@ 9. after 24 hours 1. `cd ~/Precision-Timekeeping-Fuckery` 1. `bash reconfig_full.sh ./running-warn-level-conf` (will reboot) + +## Scripts +`stop_clear.sh` stops services, clears logs, cleans up, and pulls from git +`chrony_statistics.sh` uses the python script chrony_statistics.py and feeds it copies of tracking statistics to calculate offset +`cleanup.sh` remove old files +`dump_configs.sh` make a backup of all configs +`full_status.sh` show status of all of the componants of Precision-Timekeeping-Fuckery one by one +`installer_auto.sh` script to initialize the install, it is run first +* usage: `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/installer_auto.sh?nocache=$RANDOM | sudo $SHELL` +`installer1.sh` first manual installer script. runs rpi-config and optionall rpi-update +`installer2.sh` second manual installer script. performs a dist-upgrade and an autoremove +`installer3.sh` third manual installer script. adds grafana and telegram repos, uninstalls and disables unneeded junk, installs packages, adds pps-gpio to /etc/modules if not there, autoremove, gives users the right groups +`installer4.sh` final manual installer script. runs `reconfig_full.sh` and enables the services on boot +`nuke_logs.sh` does just what it says on the tin +`reconfig_full.sh` reconfigures services in one of the directories +* usage: `bash reconfig_full ` +`services.sh` runs an operation on all of the relevant services +* usage: `bash services.sh [start|status|stop|restart|reload|enable|disable]` \ No newline at end of file diff --git a/installer1.sh b/installer1.sh index 7d8ffba..dd3c14f 100644 --- a/installer1.sh +++ b/installer1.sh @@ -2,8 +2,8 @@ set -e # updoot -echo "Updating software lists..." -sudo apt update 1>/dev/null 2>/dev/null +# echo "Updating software lists..." +# sudo apt update 1>/dev/null 2>/dev/null # rpi-update # echo "Updating Raspberry Pi firmware..." diff --git a/installer2.sh b/installer2.sh index 603e4b0..45e0bad 100644 --- a/installer2.sh +++ b/installer2.sh @@ -2,8 +2,8 @@ set -e # updoot -echo "Updating software lists..." -sudo apt update 1>/dev/null 2>/dev/null +# echo "Updating software lists..." +# sudo apt update 1>/dev/null 2>/dev/null echo "Fully upgrading, this may take a while..." sudo apt dist-upgrade -y