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

9 lines
220 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
rc-update add ofono default