testan a reboold \
This commit is contained in:
@@ -78,8 +78,8 @@
|
|||||||
#### Software (Auto)
|
#### Software (Auto)
|
||||||
**WILL REBOOT IN BETWEEN EACH COMMAND**
|
**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"`
|
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`
|
2. x `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`
|
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`
|
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`
|
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`
|
6. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/test.sh`
|
||||||
|
|||||||
+5
-1
@@ -9,13 +9,17 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# initial delay to make sure its good
|
# 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
|
sleep 180
|
||||||
|
|
||||||
# rpi-update
|
# rpi-update
|
||||||
echo "Updating Raspberry Pi firmware... DO NOT REBOOT"
|
echo "Updating Raspberry Pi firmware... DO NOT REBOOT"
|
||||||
sudo rpi-update
|
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
|
# run da raspberry pi config script
|
||||||
clear
|
clear
|
||||||
echo "Configure Raspberry Pi... DO NOT REBOOT"
|
echo "Configure Raspberry Pi... DO NOT REBOOT"
|
||||||
|
|||||||
+5
-1
@@ -9,13 +9,17 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# initial delay to make sure its good
|
# 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
|
sleep 180
|
||||||
|
|
||||||
# full distribution upgrade
|
# full distribution upgrade
|
||||||
echo "Fully upgrading, this may take a while..."
|
echo "Fully upgrading, this may take a while..."
|
||||||
sudo apt dist-upgrade -y
|
sudo apt dist-upgrade -y
|
||||||
|
|
||||||
|
# safety delay
|
||||||
|
echo "Sleeping 60 seconds to make sure its as stable as possible"
|
||||||
|
sleep 60
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
sudo apt autoremove -y
|
sudo apt autoremove -y
|
||||||
|
|||||||
+18
-2
@@ -9,7 +9,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# initial delay to make sure its good
|
# 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
|
sleep 180
|
||||||
|
|
||||||
# grafana repo and install
|
# grafana repo and install
|
||||||
@@ -41,6 +41,10 @@ fi
|
|||||||
echo "Getting new software lists..."
|
echo "Getting new software lists..."
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
|
||||||
|
# safety delay
|
||||||
|
echo "Sleeping 60 seconds to make sure its as stable as possible"
|
||||||
|
sleep 60
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
echo "Disabling unneeded junk..."
|
echo "Disabling unneeded junk..."
|
||||||
sudo systemctl disable bluetooth
|
sudo systemctl disable bluetooth
|
||||||
@@ -51,9 +55,13 @@ sudo update-rc.d -f fake-hwclock remove
|
|||||||
echo "Installing packages, this may take a while..."
|
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
|
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
|
# purging da junk
|
||||||
echo "Purging unneeded 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
|
# check if pps-gpio is in /etc/modules already
|
||||||
grep -e "pps-gpio" /etc/modules
|
grep -e "pps-gpio" /etc/modules
|
||||||
@@ -86,6 +94,10 @@ sudo usermod -aG i2c gpsd
|
|||||||
sudo usermod -aG tty _chrony
|
sudo usermod -aG tty _chrony
|
||||||
sudo usermod -aG tty gpsd
|
sudo usermod -aG tty gpsd
|
||||||
|
|
||||||
|
# safety delay
|
||||||
|
echo "Sleeping 60 seconds to make sure its as stable as possible"
|
||||||
|
sleep 60
|
||||||
|
|
||||||
# installing ble.sh
|
# installing ble.sh
|
||||||
echo "Installing BLE.sh"
|
echo "Installing BLE.sh"
|
||||||
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
|
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 -e "\n# ble.sh" >> /home/$username/.bashrc
|
||||||
echo "source -- /home/$username/.local/share/blesh/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
|
# general-scripts-and-system-ssssssetup
|
||||||
echo "Installing 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"
|
curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL"
|
||||||
|
|||||||
@@ -21,6 +21,10 @@ echo "Starting configure script..."
|
|||||||
# debug/dev mode
|
# debug/dev mode
|
||||||
bash /home/$username/Precision-Timekeeping-Fuckery/reconfig_full.sh /home/$username/Precision-Timekeeping-Fuckery/info-level-conf-huawaii
|
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
|
# enable services
|
||||||
echo "Enabling Services..."
|
echo "Enabling Services..."
|
||||||
echo -e "\tEnabling gpsd on boot"
|
echo -e "\tEnabling gpsd on boot"
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# initial delay to make sure its good
|
# 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
|
sleep 180
|
||||||
|
|
||||||
# updoot
|
# updoot
|
||||||
|
|||||||
Reference in New Issue
Block a user