mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-16 17:01:37 +00:00
* adds ratelimit * fixes md * update schema Signed-off-by: John Crispin <john@phrozen.org>
11 lines
128 B
Bash
11 lines
128 B
Bash
#!/bin/sh
|
|
|
|
case $2 in
|
|
AP-STA-CONNECTED)
|
|
ratelimit addclient $1 $3
|
|
;;
|
|
AP-STA-DISCONNECTED)
|
|
ratelimit delclient $1 $3
|
|
;;
|
|
esac
|