mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
wifischedule: Merged ignore_stations patch from user bedaes https://github.com/newkit/wifischedule/pull/2
Signed-off-by: Nils Koenig <openwrt@newk.it>
This commit is contained in:
@@ -34,9 +34,9 @@ The button "Determine Modules Automatically" tries to make a best guess determin
|
||||
When un-/loading the modules, there is a certain number of retries (`module_load`) performed.
|
||||
|
||||
The option "Force disabling wifi even if stations associated" does what it says - when activated it simply shuts down WiFi.
|
||||
When unchecked, its checked every `recheck_interval` minutes if there are still stations associated. Once the stations disconnect, WiFi is disabled.
|
||||
When unchecked, its checked every `recheck_interval` minutes if there are still stations associated. Once the stations disconnect, WiFi is disabled. To ignore associated stations add their MAC to `ignore_stations`.
|
||||
|
||||
Please note, that the parameters `module_load` and `recheck_interval` are only accessible through uci.
|
||||
Please note, that the parameters `module_load`, `recheck_interval` and `ignore_stations` are only accessible through uci.
|
||||
|
||||
## UCI Configuration `wifi_schedule`
|
||||
UCI configuration file: `/etc/config/wifi_schedule`:
|
||||
@@ -47,6 +47,7 @@ config global
|
||||
option enabled '0'
|
||||
option recheck_interval '10'
|
||||
option modules_retries '10'
|
||||
# option ignore_stations 'AA:AA:AA:AA:AA:AA BB:BB:BB:BB:BB:BB'
|
||||
|
||||
config entry 'Businesshours'
|
||||
option enabled '0'
|
||||
|
||||
Reference in New Issue
Block a user