Hello Vincent,

On Saturday 05 December 2009 22:31:08, Vincent Lefevre wrote:
> retitle 537198 wicd executes all preconnect scripts before a connection
> thanks
> 
> [..]
> 
> When I try any connection (wired or wireless), whether it specifies a
> script or not, I can see in /var/log/user.log that all the preconnect
> scripts are run, [..]

Yes. The scripts in /etc/wicd/scripts/*/ are meant as "global" scripts. 
Unfortunately, that's not documented (see #557184).

I'm not closing this bug, nor merging it, because I'd like to hijack it a bit. 
In particular, wicd upstream said that "somewhen" they'll add support for 
passing parameters to scripts.
This way, your scripts could check what kind of connection it's being passed 
(and other data -- essid, bssid, [..]), and act accordingly.

Do you agree on retitling this bug?

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to