mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 19:07:47 +00:00
ucentral: development update
* adds ratelimit * fixes md * update schema Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
10
feeds/ucentral/ratelimit/files/usr/libexec/ratelimit.sh
Normal file
10
feeds/ucentral/ratelimit/files/usr/libexec/ratelimit.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
case $2 in
|
||||
AP-STA-CONNECTED)
|
||||
ratelimit addclient $1 $3
|
||||
;;
|
||||
AP-STA-DISCONNECTED)
|
||||
ratelimit delclient $1 $3
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user