mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 01:22:25 +00:00
spotfilter: add a delay after setting up a captive portal
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -13,6 +13,7 @@ add_interface() {
|
||||
config_get_bool enabled "$cfg" "configure_spotfilter" 0
|
||||
[ $enabled -eq 0 ] || /usr/bin/captive generate "$cfg" > /tmp/spotfilter-$cfg.json
|
||||
ubus call spotfilter interface_add "$(cat /tmp/spotfilter-$cfg.json)"
|
||||
sleep 5
|
||||
}
|
||||
|
||||
reload_service() {
|
||||
|
||||
Reference in New Issue
Block a user