pmaports/device/device-purism-librem5/device-purism-librem5.post-install
Clayton Craft 83d79ea914
purism-librem5: new device (Purism Librem 5) (!869)
This adds a device package for the Librem 5 phone

[ci:skip-build]: already built successfully in CI
2020-01-19 11:57:54 +01:00

8 lines
220 B
Bash
Executable file

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