i do

wpa_supplicant -i"$if" -c<( printf %s\\n \
'network={' "ssid=\"$ssid\"" "psk=\"$pass\"" '}'
) &
{ sleep 3 ; dhclient "$if" ; } &

which is simply wpa_supplicant -iiface -c<( conf file printing )

it since years resuts in such : i think before it said printf defuncted


root      1528  0.0  0.0  12388  8656 ?        S    07:19   0:01
wpa_supplicant -iwlo1 -c/dev/fd/63
root      1530  0.0  0.0      0     0 ?        Z    07:19   0:00  \_
[3.wpa] <defunct>

Reply via email to