git: fddbdafd2d11 - stable/13 - rc.d/wpa_supplicant: Remove the sleep to improve boot time
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Aug 2022 03:34:12 UTC
The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=fddbdafd2d112e65c61800edca087992e5b80abc commit fddbdafd2d112e65c61800edca087992e5b80abc Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-06-12 19:02:47 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2022-08-13 03:33:46 +0000 rc.d/wpa_supplicant: Remove the sleep to improve boot time bapt@ had discovered a noticeable boot improvement without the sleep. Without the sleep does not affect warm or cold boot however a service netif restart may cause dhclient to spend a few extra seconds to rerequest the DHCP request. Reported by: bapt Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D35457 (cherry picked from commit 116679b39cb94fdb94c02dceb1c2cae719bd3f42) --- libexec/rc/rc.d/wpa_supplicant | 1 - 1 file changed, 1 deletion(-) diff --git a/libexec/rc/rc.d/wpa_supplicant b/libexec/rc/rc.d/wpa_supplicant index 9e5f64a5373f..e7a34e6c5f6e 100755 --- a/libexec/rc/rc.d/wpa_supplicant +++ b/libexec/rc/rc.d/wpa_supplicant @@ -30,7 +30,6 @@ is_ndis_interface() wpa_poststart() { ifconfig ${ifn} down - sleep 2 ifconfig ${ifn} up }