adacam/recon/units/gpsdctl@.service
Kayos a23a59181e init: factory recon baseline, HDC-S fw 5.7.88
- Full factory recon from fresh Hivemapper Bee (HDC-S)
- OS: Intel ESE Reference Distro (Yocto dunfell), kernel 5.10.32
- WiFi: NXP 9098 (changed from Marvell 88W8997 on prev unit)
- New services: jpeg-recorder, video-processor, beekeeper-plugin
- GNSS on /dev/ttyS2 (UART), IMU on /dev/spidev0.0
- AP currently 192.168.0.10/24 - will move to 10.42.0.0/24 in liberate.sh
- recon.sh: read-only recon script for future devices
2026-03-14 08:59:41 -07:00

14 lines
436 B
Desktop File

[Unit]
Description=Manage %I for GPS daemon
Requires=gpsd.socket
BindsTo=dev-%i.device
After=dev-%i.device
[Service]
Type=oneshot
Environment="GPSD_SOCKET=/run/gpsd.sock"
EnvironmentFile=-/etc/default/gpsd
EnvironmentFile=-/etc/sysconfig/gpsd
RemainAfterExit=yes
ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl add /dev/%I || :"
ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl remove /dev/%I || :"