[PATCH 2/2] wpa_supplicant: Allow re-open of log files with SIGHUP
Thu Nov 18 13:18:24 PST 2010
On Thu, Nov 18, 2010 at 11:42:36AM -0800, Ben Greear wrote:
> Like a new wpa_cli command? That is fine with me..I just want some
> way to roll the logs. I definitely don't want to bounce all interfaces
> each time I roll a log, so using existing reconfig handler isn't a good
> option for me.
> Any hints on where to start with a new wpa_cli command?
wpa_cli.c for wpa_cli and ctrl_iface.c for the wpa_supplicant side. The
command here would be about as simple as possible and you could look at
the ping command for an example. Search for wpa_cli_cmd_ping in
wpa_cli.c and wpa_supplicant_ctrl_iface_process() "PING" in
Jouni Malinen PGP id EFC895FA
More information about the Hostap