pmaports/device/device-purism-librem5dev/device-purism-librem5dev.post-install
Pops Dylan 7ca42afe42
device-purism-librem5dev: configure getty using deviceinfo_getty variable (!796)
Move getty configuration from the .post-install script to deviceinfo.
2019-12-14 02:58:53 +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