From 9db3bc70113744e152ada644d5886d4ecaeb6b48 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 13 Jun 2025 23:08:15 -0600 Subject: [PATCH] 1749877696 --- debug-level-conf/docs.md | 2 +- debug-level-conf/stop_clear.sh | 5 ----- debug-level-conf/uninstall.sh | 9 +++++++++ 3 files changed, 10 insertions(+), 6 deletions(-) delete mode 100644 debug-level-conf/stop_clear.sh create mode 100644 debug-level-conf/uninstall.sh diff --git a/debug-level-conf/docs.md b/debug-level-conf/docs.md index 3e616f4..be47987 100644 --- a/debug-level-conf/docs.md +++ b/debug-level-conf/docs.md @@ -15,7 +15,7 @@ 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 +`uninstall.sh` uninstalls everything `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 diff --git a/debug-level-conf/stop_clear.sh b/debug-level-conf/stop_clear.sh deleted file mode 100644 index d5eeb6e..0000000 --- a/debug-level-conf/stop_clear.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -git pull -bash services.sh stop -bash nuke_logs.sh -bash cleanup.sh \ No newline at end of file diff --git a/debug-level-conf/uninstall.sh b/debug-level-conf/uninstall.sh new file mode 100644 index 0000000..0786c42 --- /dev/null +++ b/debug-level-conf/uninstall.sh @@ -0,0 +1,9 @@ +#!/bin/bash +bash services.sh stop +bash services disable +bash nuke_logs.sh +bash cleanup.sh +sudo apt purge -y telegraf grafana influxdb gpsd gpsd-clients chrony syslog-ng +sudo apt install -y raspi-config +cd ~ +rm -rf ~/Precision-Timekeeping-Fuckery \ No newline at end of file