netcardconfig: sed command resets WPASECRET
authorLukas Prokop <admin@lukas-prokop.at>
Wed, 5 Sep 2012 14:02:05 +0000 (16:02 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 5 Sep 2012 14:24:01 +0000 (16:24 +0200)
commit37ce7c838dc0f07bc13a4ffd5e28d3cd2f63de9e
tree206f892c6e12ae691108e465597f8409bc20bd94
parent46e6b1ec8294e09ef7536c826ad5f9e95381077b
netcardconfig: sed command resets WPASECRET

On second invocation the password might end up being empty.
Then there's no chance to get a working netcardconfig
again without manually editing /etc/network/interfaces,
as the ugly awk command line can not parse the file
any longer with an incomplete wpa-psk line.
sbin/netcardconfig