From 0e5b5804ccbf138def75d105ae9e00950912fb0c Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 14 Oct 2025 04:20:17 -0600 Subject: [PATCH] testan a reboold \ --- README.md | 4 ++-- installer1.sh | 6 +++++- installer2.sh | 6 +++++- installer3.sh | 20 ++++++++++++++++++-- installer4.sh | 4 ++++ installer_auto.sh | 2 +- 6 files changed, 35 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 38babd5..73b1d3e 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,8 @@ #### Software (Auto) **WILL REBOOT IN BETWEEN EACH COMMAND** 1. x `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/installer_auto.sh?nocache=$RANDOM | "$SHELL"` -2. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer1.sh` -3. `git -C ~/Precision-Timekeeping-Fuckery pull && git pull && bash ~/Precision-Timekeeping-Fuckery/installer2.sh` +2. x `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer1.sh` +3. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer2.sh` 4. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer3.sh` 5. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer4.sh` 6. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/test.sh` diff --git a/installer1.sh b/installer1.sh index 238db6e..c5a9a87 100644 --- a/installer1.sh +++ b/installer1.sh @@ -9,13 +9,17 @@ else fi # initial delay to make sure its good -echo "Sleeping 3 minutes" +echo "Sleeping 3 minutes to make sure everything is as stable as possible" sleep 180 # rpi-update echo "Updating Raspberry Pi firmware... DO NOT REBOOT" sudo rpi-update +# safety delay +echo "Sleeping 60 seconds to make sure its as stable as possible" +sleep 60 + # run da raspberry pi config script clear echo "Configure Raspberry Pi... DO NOT REBOOT" diff --git a/installer2.sh b/installer2.sh index 00bae6f..3001233 100644 --- a/installer2.sh +++ b/installer2.sh @@ -9,13 +9,17 @@ else fi # initial delay to make sure its good -echo "Sleeping 3 minutes" +echo "Sleeping 3 minutes to make sure everything is as stable as possible" sleep 180 # full distribution upgrade echo "Fully upgrading, this may take a while..." sudo apt dist-upgrade -y +# safety delay +echo "Sleeping 60 seconds to make sure its as stable as possible" +sleep 60 + # cleanup echo "Cleaning up..." sudo apt autoremove -y diff --git a/installer3.sh b/installer3.sh index f153e41..d755933 100644 --- a/installer3.sh +++ b/installer3.sh @@ -9,7 +9,7 @@ else fi # initial delay to make sure its good -echo "Sleeping 3 minutes" +echo "Sleeping 3 minutes to make sure everything is as stable as possible" sleep 180 # grafana repo and install @@ -41,6 +41,10 @@ fi echo "Getting new software lists..." sudo apt update +# safety delay +echo "Sleeping 60 seconds to make sure its as stable as possible" +sleep 60 + # clean up echo "Disabling unneeded junk..." sudo systemctl disable bluetooth @@ -51,9 +55,13 @@ sudo update-rc.d -f fake-hwclock remove echo "Installing packages, this may take a while..." sudo apt install -y gawk ripgrep telegraf grafana influxdb restic build-essential net-tools htop btop iptraf iotop screen byobu python3 python3-pip python3-virtualenv python3-setuptools thefuck wget lynx nmap zip unzip 7zip net-tools restic ripgrep pps-tools git gh gpsd gpsd-clients chrony syslog-ng gh lynx btop htop iptraf-ng iotop neovim netcat-traditional python3-smbus i2c-tools picocom +# safety delay +echo "Sleeping 60 seconds to make sure its as stable as possible" +sleep 60 + # purging da junk echo "Purging unneeded junk..." -sudo apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" "bluez*" "alsa*" fake-hwclock build-essential +sudo apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" "bluez*" "alsa*" # check if pps-gpio is in /etc/modules already grep -e "pps-gpio" /etc/modules @@ -86,6 +94,10 @@ sudo usermod -aG i2c gpsd sudo usermod -aG tty _chrony sudo usermod -aG tty gpsd +# safety delay +echo "Sleeping 60 seconds to make sure its as stable as possible" +sleep 60 + # installing ble.sh echo "Installing BLE.sh" git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git @@ -93,6 +105,10 @@ make -C /tmp/ble.sh install PREFIX=/home/$username/.local echo -e "\n# ble.sh" >> /home/$username/.bashrc echo "source -- /home/$username/.local/share/blesh/ble.sh" >> /home/$username/.bashrc +# safety delay +echo "Sleeping 60 seconds to make sure its as stable as possible" +sleep 60 + # general-scripts-and-system-ssssssetup echo "Installing general-scripts-and-system-ssssssetup" curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL" diff --git a/installer4.sh b/installer4.sh index 78215f4..c862471 100644 --- a/installer4.sh +++ b/installer4.sh @@ -21,6 +21,10 @@ echo "Starting configure script..." # debug/dev mode bash /home/$username/Precision-Timekeeping-Fuckery/reconfig_full.sh /home/$username/Precision-Timekeeping-Fuckery/info-level-conf-huawaii +# safety delay +echo "Sleeping 60 seconds to make sure its as stable as possible" +sleep 60 + # enable services echo "Enabling Services..." echo -e "\tEnabling gpsd on boot" diff --git a/installer_auto.sh b/installer_auto.sh index a6f79f7..8e88abc 100644 --- a/installer_auto.sh +++ b/installer_auto.sh @@ -11,7 +11,7 @@ else fi # initial delay to make sure its good -echo "Sleeping 3 minutes" +echo "Sleeping 3 minutes to make sure everything is as stable as possible" sleep 180 # updoot