3
1
I need to start an arbitrary daemon when at least one WiFi network connection exists (from clients). And stop an arbitrary daemon when there is no more connections to this AP. How to do it efficiently?
For now I consider polling the results of hostapd_cli all_sta
, but it seems odd. I'm sure there must be some system event which can be hooked.
This is also called on closed connection! – maxisme – 2016-12-02T18:59:26.663