Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Apr 2001 21:02:31 -0700
From:      bmah@freebsd.org (Bruce A. Mah)
To:        freebsd-mobile@freebsd.org
Cc:        bmah@freebsd.org
Subject:   removable_interfaces
Message-ID:  <200104030402.f3342Vv39513@bmah-freebsd-0.cisco.com>

next in thread | raw e-mail | index | archive | help
--==_Exmh_1216908945P
Content-Type: text/plain; charset=us-ascii

Hi mobiles--

According to the mailing list archives, Dave Crane <dave@trig.net>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104030402.f3342Vv39513>