diff options
author | Cy Schubert <cy@FreeBSD.org> | 2022-06-12 19:02:47 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-06-14 14:55:52 +0000 |
commit | 116679b39cb94fdb94c02dceb1c2cae719bd3f42 (patch) | |
tree | 9adfc96e0b00ce09aad9ebe9addf47285758905f /libexec | |
parent | ec1a13df0302f1577368a36453542dc1ca915863 (diff) | |
download | src-116679b39cb94fdb94c02dceb1c2cae719bd3f42.tar.gz src-116679b39cb94fdb94c02dceb1c2cae719bd3f42.zip |
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
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D35457
Diffstat (limited to 'libexec')
-rwxr-xr-x | libexec/rc/rc.d/wpa_supplicant | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libexec/rc/rc.d/wpa_supplicant b/libexec/rc/rc.d/wpa_supplicant index 46cb8499e12b..7a95ccb36be4 100755 --- a/libexec/rc/rc.d/wpa_supplicant +++ b/libexec/rc/rc.d/wpa_supplicant @@ -22,7 +22,6 @@ fi wpa_poststart() { ifconfig ${ifn} down - sleep 2 ifconfig ${ifn} up } |