testan a reboold \
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
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. x `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. x `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer2.sh`
|
3. x `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer2.sh`
|
||||||
4. c`git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer3.sh`
|
4. x `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`
|
||||||
#### Software (Manual)
|
#### Software (Manual)
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
# m h dom mon dow command
|
# m h dom mon dow command
|
||||||
# set hardware I2C RTC hourly
|
# notify webhook of reboot
|
||||||
0 * * * * /bin/bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
|
@reboot /bin/bash -c "/usr/share/customscripts/ifnet \"/usr/share/customscripts/webhook bootup\" 2>> /var/log/root-crontab.log"
|
||||||
@reboot /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/root-crontab.log
|
|
||||||
|
# set the system time from the RTC every reboot
|
||||||
|
@reboot /usr/sbin/hwclock -s 2>> /var/log/root-crontab.log
|
||||||
|
|
||||||
|
# set the RTC from the system time every four hours
|
||||||
|
0 */4 * * * /usr/sbin/hwclock -w 2>> /var/log/root-crontab.log
|
||||||
@@ -41,4 +41,10 @@ check antenna tight both ends
|
|||||||
let run unimpeeded
|
let run unimpeeded
|
||||||
automate
|
automate
|
||||||
visudo
|
visudo
|
||||||
root crontab
|
root crontab
|
||||||
|
root crontab
|
||||||
|
# set the system time from the RTC every reboot
|
||||||
|
@reboot hwclock -s
|
||||||
|
|
||||||
|
# set the RTC from the system time every four hours
|
||||||
|
0 */4 * * * hwclock -w
|
||||||
Reference in New Issue
Block a user