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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to