support pre-md5summed passwords in 6in4 scripts
authorFlorian Fainelli <florian@openwrt.org>
Sat, 4 Sep 2010 16:03:14 +0000 (16:03 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 4 Sep 2010 16:03:14 +0000 (16:03 +0000)
commitf7538b68649edff265c4fbc1dfa9de97003ad08b
treef6903c27533da7571af2824fa8d8701b7d7b8d0e
parentca5bf9e291d7ba8cbd6bd287cec22298809fba81
support pre-md5summed passwords in 6in4 scripts

The he.net ipv6 tunnels require that a user supply the md5sum of his password
when updating the ipv4 tunnel endpoint. the 6in4 package supports this well,
but requires that a user store his password in plaintext in uci. this patch
tries to detect whether the password in uci is already an md5sum
(32 characters containing only [a-z0-9]), so users can avoid storing plaintext
passwords.

Signed-off-by: Steven Brudenell <steven.brudenell@gmail.com>
SVN-Revision: 22889
package/6in4/files/6in4.hotplug