Date: Tue, 14 Jun 2022 14:56:18 GMT From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 116679b39cb9 - main - rc.d/wpa_supplicant: Remove the sleep to improve boot time Message-ID: <202206141456.25EEuI0H089584@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=116679b39cb94fdb94c02dceb1c2cae719bd3f42 commit 116679b39cb94fdb94c02dceb1c2cae719bd3f42 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-06-12 19:02:47 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2022-06-14 14:55:52 +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 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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206141456.25EEuI0H089584>