I try to use iwconfig to connect a wep ap named like 'abc-ed'. I'v set in /etc/conf.d/net like this: modules_eth1=( "iwconfig" ) key_abc-ed="123456" When I start net.eth1, will got this error: /etc/init.d/../conf.d/net: line 5: key_abc-ed=123456: command not found It seemes like a bash script varible name limit. Reproducible: Always Steps to Reproduce: 1. rename wifi essid to a name not contain '-' and other char that bash varible not permit. 2. 3.
That's not supposed to work, you should use key_abc_ed=... (using an underscore). See the installed net.example file's section "WIRELESS SSID IN VARIABLES". If it still doesn't work with that change, please re-open this bug.
Oh, yes, it's worked. Thks.