Bug 236958 - [netwait] [patch] Wait for network availability at resume time
Summary: [netwait] [patch] Wait for network availability at resume time
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 11.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: patch
Depends on:
Blocks: 236956
  Show dependency treegraph
 
Reported: 2019-04-02 11:38 UTC by Bertrand Petit
Modified: 2019-04-22 21:35 UTC (History)
2 users (show)

See Also:


Attachments
Patch allowing the netwait rc script to run at host resume time (1.15 KB, patch)
2019-04-02 11:38 UTC, Bertrand Petit
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.