mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
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
This commit is contained in:
parent
ec1a13df03
commit
116679b39c
@ -22,7 +22,6 @@ fi
|
||||
|
||||
wpa_poststart() {
|
||||
ifconfig ${ifn} down
|
||||
sleep 2
|
||||
ifconfig ${ifn} up
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user