diff options
| author | Roy Marples <roy@marples.name> | 2013-06-07 20:03:28 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2013-06-07 20:03:28 +0000 |
| commit | f127375eee85b4091ce0e6ae4b6797e709b7130d (patch) | |
| tree | fca0795b95fbba1ff92bdae1a30ece4ec9b8e795 /dhcpcd.c | |
| parent | 336dd1b83b3cec02226dfb3048e0be895aafbd37 (diff) | |
| download | dhcpcd-f127375eee85b4091ce0e6ae4b6797e709b7130d.tar.xz | |
Add a wpa_supplicant hook script.
This script starts wpa_supplicant on a wireless interface if not
already running and /etc/wpa_supplicant.conf exists, stops it
when the interface departs and sends wpa_supplicant a reconfigure
command.
If dhcpcd is running in master mode, you can use `dhcpcd -n eth0'
it instruct wpa_supplicant to reload its configuration file.
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -617,6 +617,7 @@ if_reboot(struct interface *ifp, int argc, char **argv) int oldopts; oldopts = ifp->options->options; + script_runreason(ifp, "RECONFIGURE"); configure_interface(ifp, argc, argv); dhcp_reboot_newopts(ifp, oldopts); dhcp6_reboot(ifp); |
