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

9 lines
231 B
Text
Raw Normal View History

#!/bin/sh
# Enable GPS support
rc-update add gpsd default
sed -i 's/DEVICES=\"/DEVICES=\"\/dev\/gnss0/' /etc/conf.d/gpsd
sed -i 's/GPSD_OPTIONS=\"/GPSD_OPTIONS=\"-s 9600/' /etc/conf.d/gpsd
rc-update add librem5-shipmode shutdown