This option looks like it takes the default password, but instead
it takes a filename of a file which contains the password encoded
with the selected password digest.

Signed-off-by: Sascha Hauer <[email protected]>
---
 common/Kconfig | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/common/Kconfig b/common/Kconfig
index 03a0dc9..877d385 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -450,8 +450,14 @@ config PASSWORD
 
 config PASSWORD_DEFAULT
        string
-       prompt "Password default"
+       prompt "Password default file"
        depends on PASSWORD
+       help
+         Set this to a file which is used as default password file. This file
+         has to contain the passwd encoded with the selected password digest.
+         i.e.:
+         echo -ne "MyPassword" | md5sum | while read a b; do echo $a > 
passwdfile; done
+
 
 if PASSWORD
 
-- 
2.5.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to