1748949212

This commit is contained in:
2025-06-03 05:13:32 -06:00
parent 35a2621e43
commit 465a733ad7
6 changed files with 12 additions and 9 deletions
+1
View File
@@ -115,6 +115,7 @@ Upload ~/Garfana-Visualization.json to create dashboard
* import
* data source
* fix
* Raspberry OS Lite
**known bugs**
doubling of appending to /boot/firmaware/config.txt and /etc/modules when running intstaller3.sh
+6 -2
View File
@@ -22,10 +22,14 @@ sudo cp /etc/influxdb/influxdb.conf $dname/influxdb.conf
sudo cp /etc/telegraf/telegraf.conf $dname/telegraf.conf
if [ -f /etc/udev/rules.d/50-tty.rules ]; then
sudo cp /etc/udev/rules.d/50-tty.rules $dname/50-tty.rules 2> /dev/null
echo "/etc/udev/rules.d/50-tty.rules found, copying as well"
sudo cp /etc/udev/rules.d/50-tty.rules $dname/50-tty.rules
fi
echo "Fixing permissions in $dname"
sudo chown -R $username:$username $dname
sudo chmod 775 $dname
sudo chmod 664 $dname/*
sudo chmod 664 $dname/*
echo "Compressing up $dname to $dname.tar.gz
tar czf $dname.tar.gz $dname
+1 -4
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# status of services
bash ./status_services
bash ./status_services.sh
# test pps
echo "Testing PPS"
@@ -14,9 +14,6 @@ cgps
echo "Checking Timekeeping GPS"
gpsmon
# chek chrony sources
# chronyc sources
# do same with watch
echo "Watching chronyc sources"
watch chronyc sources
+1
View File
@@ -3,6 +3,7 @@
echo "Updating this repo"
git pull
# run da raspberry pi config script
sudo raspi-config
echo "Rebooting in 5 minutes"
+2 -2
View File
@@ -2,8 +2,8 @@
set -e
# change boot target to cli before deleting desktop environ
echo "Changing boot target to cli"
sudo systemctl set-default multi-user.target
# echo "Changing boot target to cli"
# sudo systemctl set-default multi-user.target
# nuke old packages
# sudo apt purge cups cups-browsed pulseaudio* bluetooth libgl* xserver* lightdm* raspberrypi-ui-mods vlc* lxde* chromium* desktop* gnome* gstreamer* gtk* hicolor-icon-theme* lx* mesa* -y
+1 -1
View File
@@ -30,7 +30,7 @@ bash ./stop_services.sh
bash ./dump_configs.sh
# replace dem by truncation
echo "Placing the new config files"
echo "Placing the new config files by truncation"
sudo bash -c "cat $gpsd_new > $gpsd"
sudo bash -c "cat $chrony_new > $chrony"
sudo bash -c "cat $grafana_new > $grafana"