From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fumitoshi UKAI Date: Fri, 27 Apr 2001 17:56:49 +0000 Subject: Bug#95354: net.agent and ifdown Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hi, I'm maintainer of hotplug deb package, and got the bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=95354&repeatmerged=3Dyes 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 ;; =20 +unregister) + if [ -x /sbin/ifdown ]; then + if [ "$DEBUG" !=3D "" ]; then + mesg invoke ifdown $INTERFACE + fi + exec /sbin/ifdown $INTERFACE + fi + mesg $1 $ACTION event not handled + ;; + *) if [ "$DEBUG" !=3D "" ]; 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