linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug#95354: net.agent and ifdown
@ 2001-04-27 17:56 Fumitoshi UKAI
  2001-04-28 16:08 ` David Brownell
  0 siblings, 1 reply; 2+ messages in thread
From: Fumitoshi UKAI @ 2001-04-27 17:56 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I'm maintainer of hotplug deb package, and got the bug report
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug•354&repeatmerged=yes

I'm not sure, but would this patch solve this problem?

--- hotplug-2001-04-24.orig/etc/hotplug/net.agent
+++ hotplug-2001-04-24/etc/hotplug/net.agent
@@ -52,6 +52,16 @@
     mesg $1 $ACTION event not handled
     ;;
 
+unregister)
+    if [ -x /sbin/ifdown ]; then
+	if [ "$DEBUG" != "" ]; then
+	    mesg invoke ifdown $INTERFACE
+	fi
+	exec /sbin/ifdown $INTERFACE
+    fi
+    mesg $1 $ACTION event not handled
+    ;;
+
 *)
     if [ "$DEBUG" != "" ]; then
 	mesg NET $ACTION event not supported

Regards,
Fumitoshi UKAI

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2001-04-28 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-27 17:56 Bug#95354: net.agent and ifdown Fumitoshi UKAI
2001-04-28 16:08 ` 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).