From 0e73142c6d45ed8bfcd30196d462aecd83689c62 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sat, 27 Jul 2024 20:48:24 +0200 Subject: [PATCH] ffda-geolocate: don't hardcode API key Mommy told me i should not leak my API keys. kthanks Signed-off-by: David Bauer --- openwrt/oob-packages/ffda-oob-firmware/files/ffda-geolocate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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