linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ignore some specific interfaces, such as non-hotpluggable eth*, ipsec*
@ 2002-02-04 17:17 Fumitoshi UKAI
  2002-02-04 21:03 ` ignore some specific interfaces, such as non-hotpluggable eth*, David Brownell
  0 siblings, 1 reply; 2+ messages in thread
From: Fumitoshi UKAI @ 2002-02-04 17:17 UTC (permalink / raw)
  To: linux-hotplug

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 <david@debian.org>, 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-04 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-04 17:17 ignore some specific interfaces, such as non-hotpluggable eth*, ipsec* Fumitoshi UKAI
2002-02-04 21:03 ` ignore some specific interfaces, such as non-hotpluggable eth*, David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).