1749877472
This commit is contained in:
@@ -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 <config_directory>`
|
||||
`services.sh` runs an operation on all of the relevant services
|
||||
* usage: `bash services.sh [start|status|stop|restart|reload|enable|disable]`
|
||||
+2
-2
@@ -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..."
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user