void-packages/srcpkgs/dhcpcd/patches/wpa-hook-stop.patch

11 lines
343 B
Diff

--- hooks/10-wpa_supplicant.orig 2014-11-26 16:34:35.000000000 +0100
+++ hooks/10-wpa_supplicant 2014-11-28 11:53:48.929217243 +0100
@@ -114,6 +114,6 @@ then
case "$reason" in
PREINIT) wpa_supplicant_start;;
RECONFIGURE) wpa_supplicant_reconfigure;;
- DEPARTED) wpa_supplicant_stop;;
+ DEPARTED|STOPPED) wpa_supplicant_stop;;
esac
fi