2020-01-14 03:55:23 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Enable GPS support
|
2021-12-10 08:19:48 +00:00
|
|
|
sed -i 's|# nmea-socket=/var/run/gps-share.sock|nmea-socket=/var/run/gnss-share.sock|' /etc/geoclue/geoclue.conf
|
|
|
|
|
2022-01-13 08:41:11 +00:00
|
|
|
rc-update -qq del gpsd
|
2021-12-10 08:19:48 +00:00
|
|
|
rc-update -q add gnss-share
|
2022-10-02 03:28:15 +00:00
|
|
|
rc-update -q add l5-ship-mode shutdown
|
2022-01-13 08:41:11 +00:00
|
|
|
|
|
|
|
# Clean up any old, unneeded legacy u-boot images from /boot
|
|
|
|
for f in uInitrd uImage; do
|
|
|
|
[ ! -f "/boot/$f" ] && continue
|
|
|
|
rm -f "/boot/$f"
|
|
|
|
done
|