On Wednesday 24 March 2010 12:51:24, Andras Korn wrote: > Package: wicd-daemon > Severity: normal > > Hi,
Hello, > I'm pretty certain this used to work at some point, maybe early 2009, but > was then "fixed"; hence the severity. > > I have a script called "netconfig" that takes a parameter and sets up some > local things based on that parameter. I'd like wicd to pass it a command > line argument, but can't seem to do so; the entire command line is treated > as the name of the script, including spaces. Exactly. > Neither does wicd appear to pass in any meaningful environment variables. Not in the environment. To the wired scripts, "wired" is passed (three times, just for compatibility with the wireless ones, even though I disagree with upstream on this, but have found no sufficient motivation to patch it), i.e. if you put "netconfig" as a pre/post connection/disconnection script, it will be called as: $ netconfig wired wired wired To the wireless scripts, WICD passes "wireless", the ESSID and the BSSID, i.e.: $ netconfig wireless my-wlan 00:11:22:33:44:55 Maybe we could mangle this bug appropriately to make it a documentation-bug. Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: This is a digitally signed message part.