From owner-freebsd-current@freebsd.org Fri Dec 18 20:59:44 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC53FA4B15A for ; Fri, 18 Dec 2015 20:59:44 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6F2515E1 for ; Fri, 18 Dec 2015 20:59:44 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 18 Dec 2015 20:59:49 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id tBIKxZWs028221; Fri, 18 Dec 2015 13:59:36 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1450472375.25138.116.camel@freebsd.org> Subject: Enhance rc.d/netwait script to wait for late-attaching interfaces such as USB NICs. From: Ian Lepore To: "freebsd-current@freebsd.org" , freebsd-rc@freebsd.org Date: Fri, 18 Dec 2015 13:59:35 -0700 Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2015 20:59:45 -0000 Based on patches submitted by Brenden Molloy I've put together a phabricator review for enhancements to the /etc/rc.d/netwait script so that it can be used to wait for one or more USB network interfaces to appear before continuing with post-NETWORKING rc scripts. Anyone interested in testing or reviewing the changes, please see https://reviews.freebsd.org/D4608 -- Ian