openrc-9999, latest git from 03/10/08 net/wpa_supplicant.sh sets only $SSID, not $SSIDVAR (the var is empty after setting with SSIDVAR=$(_shell_var "${SSID}") in line 69). By adding $SSID to _configure_variables in net/ssidnet.sh I can use per ESSID config like config_ESSID in /etc/conf.d/net again. --- net/ssidnet.sh 2008-03-10 00:32:37.000000000 +0100 +++ net/ssidnet.sh.new 2008-03-10 00:31:55.000000000 +0100 @@ -14,7 +14,7 @@ local mac=$(_get_ap_mac_address | sed -e 's/://g') x= vebegin "Configuring ${IFACE} for SSID ${SSID}" - _configure_variables "${mac}" "${SSIDVAR}" + _configure_variables "${mac}" "${SSID}" "${SSIDVAR}" # Backwards compat for old gateway var eval x=\$gateway_${SSIDVAR} Reproducible: Always Steps to Reproduce: Actual Results: Without that fix, my config_ESSID variables in /etc/conf.d/net are ignored and the default config_wlan0 is used, which is set to dhcp.
Created attachment 145716 [details, diff] Use correct shell_var function Try this patch instead :) Let me know if it works!
(In reply to comment #1) > Created an attachment (id=145716) [edit] > Use correct shell_var function > > Try this patch instead :) > Let me know if it works! It does work, too. Thanks!
Fixed upstream and fixed in openrc-{0.2,9999}