Package: ifplugd
Version: 0.26-2
Followup-For: Bug #334876
This attached patch solves the no longer available hotplug.function file.
Plus it forces the the deconfiguration of the interface even if it is
no longer available (like a removed pcmcia net card) (another ifplugd
bug, apparently solved upstream in ifplugd 0.27, see #279096)
Gilles.
1c1
< #!/bin/sh
---
> #!/bin/sh
11,13d10
< HOTPLUGFUNCS=/etc/hotplug/hotplug.functions
< [ -f $HOTPLUGFUNCS ] || exit 1
< . $HOTPLUGFUNCS
15a13,21
> mesg () {
> /usr/bin/logger -t $(basename $0)"[$$]" "$@"
> }
> debug_mesg () {
> test "$DEBUG" = "" -o "$DEBUG" = no && return
> mesg "$@"
> }
>
>
43a50
> /sbin/ifdown $INTERFACE