void-packages/srcpkgs/dhcpcd/patches/wpa-hook-stop.patch
2018-01-20 06:59:45 +01:00

10 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