I have things that need to happen every time I reboot. one is:
to permit the use of piscope, which I use constantly
another is to run:
to be able to read GPS output on the serial port.
I tried:
I tried putting sudo pigpiod in etc/rc.local. no effect.
Is there a way make things happen every time? a shell script that works on boot? if so, do I need sudo in front of all commands?
Code:
sudo pigpiodanother is to run:
Code:
sudo systemctl stop serial-getty@ttyS0.servicesudo systemctl disable serial-getty@ttyS0.servicesudo gpsd /dev/serial0 -F /var/run/gpsd.sockI tried:
which somehow took out piscopesudo systemctl mask serial-getty@ttyS0.service
I tried putting sudo pigpiod in etc/rc.local. no effect.
Is there a way make things happen every time? a shell script that works on boot? if so, do I need sudo in front of all commands?
Statistics: Posted by Operator J — Sun Aug 24, 2025 6:15 pm