[OpenWrt-Devel] Hooks on wifi up/down for starting/stopping dependent functionality?

Bastian Bittorf bittorf at bluebottle.com
Wed Nov 12 04:53:40 EST 2014


* Johan Almbladh <ja at anyfi.net> [12.11.2014 10:45]:
> I tried just doing "ubus listen" in one shell and then running "wifi" from
> another, but that doesn't give much to go on:

which events do you need?

a joining or leaving station?
use 'iw event'

an upcoming (or going down) interface?
use '/etc/hotplug.d/iface/$yourscript'

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list