Date: Tue, 21 Aug 2001 22:48:29 +0900 (JST) From: Toshihiko ARAI <toshi@jp.FreeBSD.org> To: nate@yogotech.com (Nate Williams) Cc: freebsd-mobile@FreeBSD.org, imp@FreeBSD.org Subject: Re: Documentation for rc.conf's removable_interfaces? Message-ID: <200108211348.f7LDmTh30188.toshi@jp.FreeBSD.org> In-Reply-To: <15233.22136.524384.459698@nomad.yogotech.com> References: <15228.2988.181554.313833@nomad.yogotech.com> <200108200357.f7K3vMn18594.toshi@jp.FreeBSD.org> <15233.22136.524384.459698@nomad.yogotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry. There is not my English well.
+ <15233.22136.524384.459698@nomad.yogotech.com>, Nate Williams wrote:
>> I thought that it is necessary for sysinstall at first, but
>> i think that removable_interfaces variable is unnecessary now.
>> Because I am busy currently, a patch for sysinstall is
>> unfinished.
> You realize that FreeBSD 4.4-RELEASE is due to be released in a couple
> of weeks, and that currently static routing is broken.
> Will you have time in the near future to work on this, or would you
> suggest we instead back out these changes so that things work again for
> the new release?
I agree to delete 'removable_*' variables.
How about with the following patches?
Index: src/etc/pccard_ether
===================================================================
RCS file: /home/ncvs/src/etc/pccard_ether,v
retrieving revision 1.25
diff -u -r1.25 pccard_ether
--- src/etc/pccard_ether 2001/05/09 20:30:55 1.25
+++ src/etc/pccard_ether 2001/08/21 13:46:15
@@ -48,7 +48,6 @@
case ${pccard_ifconfig} in
[Nn][Oo] | '')
- expr "${removable_interfaces}" : ".*${interface}" > /dev/null || exit 0
;;
*)
# Backward compatible
@@ -171,15 +170,5 @@
# Remove the network interface and cleaning ARP table
ifconfig ${interface} delete
arp -d -a
-
- # Clean the routing table
- case ${removable_route_flush} in
- [Nn][Oo])
- ;;
- *)
- # flush beforehand, just in case....
- route -n flush -inet
- ;;
- esac
;;
esac
--
Toshihiko ARAI
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?200108211348.f7LDmTh30188.toshi>
