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