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

6 lines
191 B
Bash

#!/bin/sh
# Enable GPS support
rc-update add gpsd default
sed -i 's/DEVICE=\"\"/DEVICE=\"\/dev\/ttymxc2\"/' /etc/conf.d/gpsd
sed -i 's/BAUDRATE=\"4800\"/BAUDRATE=\"9600\"/' /etc/conf.d/gpsd