From owner-freebsd-doc Fri Feb 7 15:57: 7 2003 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5C1C37B401 for ; Fri, 7 Feb 2003 15:57:05 -0800 (PST) Received: from smtp.eos.ocn.ne.jp (eos.ocn.ne.jp [211.6.83.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FCB743F75 for ; Fri, 7 Feb 2003 15:57:05 -0800 (PST) (envelope-from hrs@eos.ocn.ne.jp) Received: from mail.allbsd.org (p57194-adsao12honb4-acca.tokyo.ocn.ne.jp [220.96.139.194]) by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id BEDC432F6 for ; Sat, 8 Feb 2003 08:57:03 +0900 (JST) Received: from localhost (alph.allbsd.org [192.168.0.10]) by mail.allbsd.org (8.12.6/3.7W/DomainMaster) with ESMTP id h17NqCJ8013219 for ; Sat, 8 Feb 2003 08:52:12 +0900 (JST) (envelope-from hrs@eos.ocn.ne.jp) Date: Sat, 08 Feb 2003 08:47:48 +0900 (JST) Message-Id: <20030208.084748.55715545.hrs@eos.ocn.ne.jp> To: doc@FreeBSD.ORG Subject: /etc/start_if.${ifn} From: Hiroki Sato X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Feb__8_08:47:48_2003_908)--" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ----Next_Part(Sat_Feb__8_08:47:48_2003_908)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I have found it is not documented that if /etc/start_if.${ifn} is present it is executed from /etc/rc.d/network1. Is it mentioned somewhere? If not, I would like to add a description into rc.conf(5) like the attached patch. -- | Hiroki SATO / ----Next_Part(Sat_Feb__8_08:47:48_2003_908)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rc.conf.5.diff" Index: rc.conf.5 =================================================================== RCS file: /home/ncvs/src/share/man/man5/rc.conf.5,v retrieving revision 1.172 diff -d -u -I\$FreeBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.172 rc.conf.5 --- rc.conf.5 19 Jan 2003 01:49:31 -0000 1.172 +++ rc.conf.5 7 Feb 2003 23:29:36 -0000 @@ -643,6 +643,12 @@ be added since the search would stop with the missing alias3 entry. .Pp +If +.Pa /etc/start_if. Ns Aq Ar interface +files are present, they are executed as sh-scripts before +configurations specified in +.Va ifconfig_ Ns Aq Ar interface . +.Pp It is possible to bring up an interface with DHCP by setting the .Va ifconfig_ Ns Aq Ar interface variable to ----Next_Part(Sat_Feb__8_08:47:48_2003_908)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message