aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-06-12 19:02:47 +0000
committerCy Schubert <cy@FreeBSD.org>2022-06-14 14:55:52 +0000
commit116679b39cb94fdb94c02dceb1c2cae719bd3f42 (patch)
tree9adfc96e0b00ce09aad9ebe9addf47285758905f /libexec
parentec1a13df0302f1577368a36453542dc1ca915863 (diff)
downloadsrc-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-xlibexec/rc/rc.d/wpa_supplicant1
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
}