From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fumitoshi UKAI Date: Mon, 04 Feb 2002 17:17:37 +0000 Subject: ignore some specific interfaces, such as non-hotpluggable eth*, ipsec* Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I've received some bug reports or wish requests to ignore some specific network interfaces, such as non-hotpluggable eth* or ipsec*. David Engel , submitter of Bug#132224, suggests the following patch. --- net.agent.orig Mon Jan 14 11:25:25 2002 +++ net.agent Sun Feb 3 14:54:51 2002 @@ -25,6 +25,13 @@ exit 1 fi +case $INTERFACE in + # interfaces that should be ignored altogether + ipsec*) + exit 0 + ;; +esac + case $ACTION in register) Although, I think pattern "ipsec*" should be configurable in /etc/default/hotplug (or /etc/sysconfig/hotplug on RedHat, maybe), does it make sense to apply such patch to net.agent? Thanks, Fumitoshi UKAI PS. See more detail, look at http://bugs.debian.org/hotplug #108857: hotplug should not invoke ifup ethX for built in interfaces #132224: hotplug should ignor ipsec interfaces _______________________________________________ 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