Package: ifplugd
Followup-For: Bug #647955

I'd be inclined to think this bug should be reassigned to wpasupplicant
as /etc/ifplugd/action.d/action_wpa is provided by that package. What
the reporter describes is also my experience but I'd not see ifplugd as
being at fault as it merely runs the scripts in /etc/ifplugd/action.d/.

My solution was to add

   # Wait for default route for IFACE to disappear.
   if [ "${COMMAND}" = "disconnect" ] ; then
      X=$(ip route list | grep default | cut -d" " -f5)
      while [ "$X" = "${IFACE}" ]
         do
             X=$(ip route list | grep default | cut -d" " -f5)
         done
   fi

to action_wpa after the line

   wpa_cli -i "${IFACE}" "${COMMAND}"

The code may not be great but it cures the problem and is a step up on
my original 'sleep 3'!



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to