2.2 KiB
2.2 KiB
Install
curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/installer_auto.sh?nocache=$RANDOM | sudo $SHELLbash ~/Precision-Timekeeping-Fuckery/installer1.sh(will reboot)bash ~/Precision-Timekeeping-Fuckery/installer2.sh(will reboot)bash ~/Precision-Timekeeping-Fuckery/installer3.sh(will reboot)bash ~/Precision-Timekeeping-Fuckery/installer4.sh(will reboot)- grafana
- pull up grafana web interface in a browser:
http://<ip>:3000 - username
adminpasswordadmin - Dashboards->Import
- Upload Garfana-Visualization.json
- edit each graph and just save
- pull up grafana web interface in a browser:
- after 24 hours
cd ~/Precision-Timekeeping-Fuckerybash reconfig_full.sh ./running-warn-level-conf(will reboot)
Scripts
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
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 $SHELLinstaller1.shfirst manual installer script. runs rpi-config and optionall rpi-updateinstaller2.shsecond manual installer script. performs a dist-upgrade and an autoremoveinstaller3.shthird 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 groupsinstaller4.shfinal manual installer script. runsreconfig_full.shand enables the services on bootnuke_logs.shdoes just what it says on the tinreconfig_full.shreconfigures services in one of the directories - usage:
bash reconfig_full <config_directory>services.shruns an operation on all of the relevant services - usage:
bash services.sh [start|status|stop|restart|reload|enable|disable]show_running_configs.shshows the current config files, one by one