wlan-ap-Telecominfraproject/feeds/ucentral/ratelimit/files/usr/libexec/ratelimit.sh
John Crispin 490f4eacc2 ucentral: development update
* fix vlans on ipq40xx
* fix ratelimit
* merge eap102 fixes
* update schema
* drop uci bridge hack

Signed-off-by: John Crispin <john@phrozen.org>
2021-04-09 15:05:05 +02:00

11 lines
128 B
Bash
Executable File

#!/bin/sh
case $2 in
AP-STA-CONNECTED)
ratelimit addclient $1 $3
;;
AP-STA-DISCONNECTED)
ratelimit delclient $1 $3
;;
esac