Skip to content

Commit

Permalink
probably fix mount point busy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
b3nn0 committed Mar 2, 2023
1 parent 90d0d32 commit 98208d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mapdata/download_mapdata.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash


cd /
overlayctl unlock
cd /overlay/robase/opt/stratux/mapdata

Expand All @@ -19,9 +19,7 @@ systemctl stop systemd-timesyncd
echo
read -p "Download OpenFlightMaps VFR Charts Europe (~700 MiB)? [y/n]" -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
overlayctl unlock
wget -N https://abatzill.de/stratux/openflightmaps.mbtiles
overlayctl lock
fi

echo
Expand All @@ -30,6 +28,8 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
wget -N https://abatzill.de/stratux/vfrsec.mbtiles
fi

cd /
sync
overlayctl lock

systemctl restart stratux

0 comments on commit 98208d8

Please sign in to comment.