fix: source functions

sourcing /lib/functions so uci_get is in scope
This commit is contained in:
eneller
2025-11-22 22:36:49 +01:00
parent 930e3ad1ba
commit 12bfaa2dfe
4 changed files with 18 additions and 7 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/sh
# auto-login for https://wifi4eu.ec.europa.eu or general fortigate
. "/lib/functions.sh"
trm_fetch="$(command -v curl)"
trm_captiveurl="$(uci_get travelmate global trm_captiveurl "http://detectportal.firefox.com")"