diff --git a/openwrt/oob-packages/ffda-oob-firmware/files/ffda-geolocate.sh b/openwrt/oob-packages/ffda-oob-firmware/files/ffda-geolocate.sh index 38c9b01..e3d985a 100644 --- a/openwrt/oob-packages/ffda-oob-firmware/files/ffda-geolocate.sh +++ b/openwrt/oob-packages/ffda-oob-firmware/files/ffda-geolocate.sh @@ -9,5 +9,5 @@ fi # Get the current location ip link set dev wlan0 up -clocate -p google -k AIzaSyA6ox6kpT0PXoxepY77xudrhJ9Y9W5Birc +clocate -p google -k "$API_KEY" ip link set dev wlan0 down