testan a reboold
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ sudo update-rc.d -f fake-hwclock remove
|
|||||||
|
|
||||||
# install da packages
|
# install da packages
|
||||||
echo "Installing packages, this may take a while..."
|
echo "Installing packages, this may take a while..."
|
||||||
sudo apt install -y util-linux util-linux-extra 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 util-linux gawk telegraf grafana influxdb restic build-essential net-tools htop btop screen byobu python3 python3-pip python3-virtualenv python3-setuptools thefuck wget lynx nmap zip unzip 7zip ripgrep pps-tools gh gpsd gpsd-clients chrony syslog-ng iptraf-ng i2c-tools picocom
|
||||||
|
|
||||||
# safety delay
|
# safety delay
|
||||||
echo "Sleeping 60 seconds to make sure its as stable as possible"
|
echo "Sleeping 60 seconds to make sure its as stable as possible"
|
||||||
|
|||||||
+3
-2
@@ -42,6 +42,7 @@ sudo systemctl enable syslog-ng
|
|||||||
echo -e "\tEnabling logrotate on boot"
|
echo -e "\tEnabling logrotate on boot"
|
||||||
sudo systemctl enable logrotate
|
sudo systemctl enable logrotate
|
||||||
|
|
||||||
|
# unclear if this is needed
|
||||||
# edit dis
|
# edit dis
|
||||||
## comment out and add note
|
## comment out and add note
|
||||||
## # commented out manually to use rtc
|
## # commented out manually to use rtc
|
||||||
@@ -52,8 +53,8 @@ sudo systemctl enable logrotate
|
|||||||
## # /sbin/hwclock --rtc=$dev --systz --badyear
|
## # /sbin/hwclock --rtc=$dev --systz --badyear
|
||||||
## and
|
## and
|
||||||
## # /sbin/hwclock --rtc=$dev --systz
|
## # /sbin/hwclock --rtc=$dev --systz
|
||||||
echo "Editing hwclock-set file"
|
# echo "Editing hwclock-set file"
|
||||||
sudo nano /lib/udev/hwclock-set
|
# sudo nano /lib/udev/hwclock-set
|
||||||
|
|
||||||
# update the log
|
# update the log
|
||||||
echo "done!" > /home/$username/Precision-Timekeeping-Fuckery/status.txt
|
echo "done!" > /home/$username/Precision-Timekeeping-Fuckery/status.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user