mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 15:53:56 +08:00
12 lines
189 B
Bash
12 lines
189 B
Bash
#!/bin/sh
|
|
|
|
[ -f /etc/config/mwan3_autobalancer ] || exit 0
|
|
|
|
case "$ACTION" in
|
|
ifup|ifdown|connected|disconnected)
|
|
ubus -t 1 call mwan3_autobalancer poke >/dev/null 2>&1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|