[package] 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)
commitf6f243ddf7e0284a79aa50e7e13c2544017289f4
tree0fafee32102adfa3be93c5e8ffb565da4f6c054e
parenta4209b9897f63a3a13346a577a4af7f914bd5dae
[package] 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