Bug 236958

Summary: [netwait] [patch] Wait for network availability at resume time
Product: Base System Reporter: Bertrand Petit <bsdpr>
Component: confAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Only Me CC: bsdpr, emaste
Priority: --- Keywords: patch
Version: 11.2-STABLE   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 236956    
Attachments:
Description Flags
Patch allowing the netwait rc script to run at host resume time none

Description Bertrand Petit 2019-04-02 11:38:44 UTC
Created attachment 203317 [details]
Patch allowing the netwait rc script to run at host resume time

When a laptop is getting out of sleep network interfaces can take some time to again become attached, up and running. FreeBSD provides the netwait rc script to wait for network availability at boot time but not at resume time. The proposed patch resolves this issue by making the netwait script run-able at resume time. While working on this I took the liberty to document the configuration variables used by the netwait rc script.