From owner-freebsd-mobile Mon Apr 2 21: 2:36 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by hub.freebsd.org (Postfix) with ESMTP id CA9AF37B718; Mon, 2 Apr 2001 21:02:31 -0700 (PDT) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-1.cisco.com (8.9.3/8.9.1) with ESMTP id VAA21544; Mon, 2 Apr 2001 21:02:35 -0700 (PDT) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f3342Vv39513; Mon, 2 Apr 2001 21:02:31 -0700 (PDT) (envelope-from bmah) Message-Id: <200104030402.f3342Vv39513@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: freebsd-mobile@freebsd.org Cc: bmah@freebsd.org Subject: removable_interfaces From: bmah@freebsd.org (Bruce A. Mah) Reply-To: bmah@freebsd.org X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1216908945P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 02 Apr 2001 21:02:31 -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_1216908945P Content-Type: text/plain; charset=us-ascii Hi mobiles-- According to the mailing list archives, Dave Crane posted a query to this list about two months ago, asking about why there wasn't an entry in /etc/defaults/rc.conf for the removable_interfaces variable and, presumably, a corresponding entry in the manpage. (No one replied, but that's not my point.) Having just wasted an hour figuring out that I needed to tweak this variable (apparently Dave is much smarter than I am, since according to his email, he only needed a few minutes to get over this hurdle :-p), and wanting to save future generations some frustration, I present the following patch against -STABLE, which apparently applies to -CURRENT as well. Any objections to my commiting this -CURRENT, as a possible MFC candidate? Bruce. Index: etc/defaults/rc.conf =================================================================== RCS file: /home/ncvs/src/etc/defaults/rc.conf,v retrieving revision 1.53.2.21 diff -c -r1.53.2.21 rc.conf *** etc/defaults/rc.conf 2001/03/19 09:33:59 1.53.2.21 --- etc/defaults/rc.conf 2001/04/03 03:52:49 *************** *** 29,34 **** --- 29,35 ---- pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO). pccardd_flags="" # Additional flags for pccardd. pccard_conf="/etc/defaults/pccard.conf" # pccardd(8) config file + removable_interfaces="" # Removable network interfaces for /etc/pccard_e ther. local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. rc_conf_files="/etc/rc.conf /etc/rc.conf.local" fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails. Index: share/man/man5/rc.conf.5 =================================================================== RCS file: /home/ncvs/src/share/man/man5/rc.conf.5,v retrieving revision 1.64.2.19 diff -c -r1.64.2.19 rc.conf.5 *** share/man/man5/rc.conf.5 2001/03/08 05:44:15 1.64.2.19 --- share/man/man5/rc.conf.5 2001/04/03 03:52:51 *************** *** 129,134 **** --- 129,137 ---- these are the flags to pass to the .Xr pccardd 8 daemon. + .It Ar removable_interfaces + (str) List of removable network interfaces to be supported by + .Pa /etc/pccard_ether . .It Ar local_startup (str) List of directories to search for startup script files. .It Ar hostname --==_Exmh_1216908945P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6yUtX2MoxcVugUsMRArWeAJ0X/hbIJIDzhDZykpQb07QaThE2pgCg5LgJ fnlqplrt+0JskfEolItp+P0= =sO1/ -----END PGP SIGNATURE----- --==_Exmh_1216908945P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message