From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Nottingham Date: Mon, 07 Jan 2002 17:44:30 +0000 Subject: Re: ifdown on unregister for debian system Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Fumitoshi UKAI (ukai@debian.or.jp) said: > > This patch: > > a) refers to a debian-specific package > > b) refers to debian-specific ifdown behavior > > > > Is there any chance it could be cleaned up, or kept as a debian-specifc > > diff? > > debian's ifup/ifdown uses /etc/network/ifstate for status database. > How about checking the /etc/network/ifstate file existance to run ifdown? That could work, I suppose. The situation on Red Hat is that ifdown is used to bring down the network interface; if you've gotten the unregister event from the driver, that means the network interface is already down, so running ifdown doesn't gain you much. Bill _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel