From 116679b39cb94fdb94c02dceb1c2cae719bd3f42 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Sun, 12 Jun 2022 12:02:47 -0700 Subject: [PATCH] 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 --- 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 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 }