pmaports/device/testing/device-purism-librem5dev/device-purism-librem5dev.post-install

7 lines
191 B
Text
Raw Normal View History

#!/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