pmaports/device/community/device-purism-librem5/device-purism-librem5.post-install

6 lines
190 B
Bash

#!/bin/sh
# Enable GPS support
rc-update add gpsd default
sed -i 's/DEVICES=\"/DEVICES=\"\/dev\/gnss0/' /etc/conf.d/gpsd
sed -i 's/GPSD_OPTIONS=\"/GPSD_OPTIONS=\"-s 9600/' /etc/conf.d/gpsd