linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fumitoshi UKAI <ukai@debian.or.jp>
To: linux-hotplug@vger.kernel.org
Subject: Bug#95354: net.agent and ifdown
Date: Fri, 27 Apr 2001 17:56:49 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-98839430403668@msgid-missing> (raw)

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

             reply	other threads:[~2001-04-27 17:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-27 17:56 Fumitoshi UKAI [this message]
2001-04-28 16:08 ` Bug#95354: net.agent and ifdown David Brownell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-98839430403668@msgid-missing \
    --to=ukai@debian.or.jp \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).