diff --git a/info-level-conf-huawaii/boot-firmware-config.txt b/info-level-conf-huawaii/boot-firmware-config.txt index 2c577cd..c70ceb1 100644 --- a/info-level-conf-huawaii/boot-firmware-config.txt +++ b/info-level-conf-huawaii/boot-firmware-config.txt @@ -1,7 +1,7 @@ # Precision Timekeeping Fuckery Additions ## GPS PPS GPIO Signal -dtoverlay=pps-gpio,gpiopin=23 +dtoverlay=pps-gpio,gpiopin=18 ## GPS GPIO UART enable_uart=1 diff --git a/info-level-conf-huawaii/hwclock-set b/info-level-conf-huawaii/hwclock-set index 35028d4..a30559c 100644 --- a/info-level-conf-huawaii/hwclock-set +++ b/info-level-conf-huawaii/hwclock-set @@ -1,2 +1,2 @@ #!/bin/sh -dev=$1 \ No newline at end of file +# dev=$1 \ No newline at end of file diff --git a/info-level-conf-huawaii/root-crontab b/info-level-conf-huawaii/root-crontab index 434dc3a..feaef34 100644 --- a/info-level-conf-huawaii/root-crontab +++ b/info-level-conf-huawaii/root-crontab @@ -2,3 +2,4 @@ # set hardware I2C RTC hourly 0 * * * * /bin/bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log" @reboot /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/root-crontab.log +@reboot bash /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/root-crontab.log diff --git a/installer4.sh b/installer4.sh index c73754e..1091d35 100644 --- a/installer4.sh +++ b/installer4.sh @@ -8,7 +8,7 @@ echo "Starting configure script..." # running (warn level) # bash ./reconfig_full.sh ./running-warn-level-conf # debug/dev mode -bash ./reconfig_full.sh ./debug-level-conf +bash ./reconfig_full.sh ./info-level-conf-huawaii # enable services echo "Enabling Services..." diff --git a/reconfig_full.sh b/reconfig_full.sh index 843852e..0655152 100644 --- a/reconfig_full.sh +++ b/reconfig_full.sh @@ -16,8 +16,8 @@ influxdb="/etc/influxdb/influxdb.conf" telegraf="/etc/telegraf/telegraf.conf" udev_rule="/etc/udev/rules.d/50-tty.rules" bootfirmwareconfig="/boot/firmware/config.txt" -hwclockset="/lib/udev/hwclock-set" -## new conf file paths +# hwclockset="/lib/udev/hwclock-set" +# new conf file paths gpsd_new=""$1/gpsd"" chrony_new="$1/chrony.conf" grafana_new="$1/grafana.ini" @@ -25,7 +25,7 @@ influxdb_new="$1/influxdb.conf" telegraf_new="$1/telegraf.conf" udev_new="$1/50-tty.rules" bootfirmwareconfig_new="$1/boot-firmware-config.txt" -hwclockset_new="$1/hwclock-set" +# hwclockset_new="$1/hwclock-set" crontab_new="$1/root-crontab" # stop da services @@ -49,7 +49,7 @@ sudo bash -c "cat $telegraf_new > $telegraf" echo -e "\tConfiguring udev" sudo bash -c "cat $udev_new > $udev_rule" echo -e "\tConfiguring hwclockset" -sudo bash -c "cat $hwclockset_new > $hwclockset" +# sudo bash -c "cat $hwclockset_new > $hwclockset" # check if /boot/firmware/config.txt is configured yet grep -q -e "GPS PPS signals" /boot/firmware/config.txt diff --git a/todo.txt b/todo.txt index 1b79ae3..d205d51 100644 --- a/todo.txt +++ b/todo.txt @@ -30,4 +30,12 @@ case positioning traffic power - temperature \ No newline at end of file + temperature +automate multi stage installer +backups + restic backups + backup image + +check wiring +check antenna tight both ends +let run unimpeeded \ No newline at end of file