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

Per Olofsson pelle at debian.org
Mon Dec 4 14:50:30 CET 2006


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.

-- 
Pelle




More information about the Pkg-wpa-devel mailing list