[pkg-wpa-devel] Bug#390884: Bug#390884: doesn't work well with acpi-support

Stefan Lippers-Hollmann s.L-H at gmx.de
Mon Sep 26 15:58:26 UTC 2011


reassign 390884 acpi-support
found 390884 0.86-1
fixed 390884 0.109-1
forcemerge 473184 390884
thanks

On Monday 26 September 2011, Per Olofsson wrote:
> Hi,
> 
> Kel Modderman:
> > > > Try something like:
> > > >
> > > > for x in $INTERFACES; do
> > > > 	if test -x /sbin/wpa_action && \
> > > > 		wpa_action $x check; then
> > > > 		wpa_action $x stop
> > > > 	else
> > > > 		ifdown $x
> > > > 	fi
> > > > done
> > >
> > > Works fine! Thanks!
> > 
> > How shall we proceed from this point. Should wpasupplicant package provide a 
> > script hook, or should the above code be submitted as a patch to acpi-support 
> > package?
> 
> I'd say it should be submitted to acpi-support. A script hook would
> seem to be very error-prone in this case (it would have to rely on how
> the other scripts work).
> 
> > Any other ideas?
> 
> Fixing ifupdown so that wpa_action is not needed would be a good
> thing.

An equivalent patch has been merged in acpi-support 0.109-1, quoting 
the changelog entry:

  * Call wpa_action stop for wpasupplicant-controlled interfaces before suspend.
    Closes: #473184.

Regards
	Stefan Lippers-Hollmann





More information about the Pkg-wpa-devel mailing list