On Mon, Sep 16, 2013 at 07:48:24PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > HI, > > v3: > use glabalvar type params > > this will allow to request password when try to interrupt barebox auto > boot > > This will also allow to set a default password if none in the env > and if no /env/bin/init is present request a login > > The following changes since commit f0b68f0008f94606f6b927590d1fafb34b1abc55: > > usb-imx28: fix enable (2013-09-10 21:03:59 +0200) > > are available in the git repository at: > > git://git.jcrosoft.org/barebox.git delivery/login > > for you to fetch changes up to 8d1ab8f59cc9f3a22e191d389433ca78f74bbc57: > > defaultenv-2: add login support (2013-09-17 01:01:08 +0800) Applied, thanks. include/globalvar lacked a #include <linux/err.h>. Added this while applying. Sascha > > ---------------------------------------------------------------- > Jean-Christophe PLAGNIOL-VILLARD (5): > globalvar: add globalvar_add_simple_int/bool/enum/ip support > login: add globalvar timeout support > login: disable input console if password wrong > login/passwd: add default password support > defaultenv-2: add login support > > commands/login.c | 24 ++++++++++++++++++++++-- > commands/passwd.c | 8 ++++---- > common/Kconfig | 5 +++++ > common/Makefile | 20 ++++++++++++++++++++ > common/console.c | 6 ++++++ > common/console_common.c | 33 +++++++++++++++++++++++++++++++++ > common/console_simple.c | 9 ++++++++- > common/globalvar.c | 2 +- > common/password.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------- > common/startup.c | 2 ++ > defaultenv-2/base/bin/init | 18 ++++++++++++++++++ > include/console.h | 3 +++ > include/globalvar.h | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > include/password.h | 22 +++++++++++++++++----- > 14 files changed, 303 insertions(+), 26 deletions(-) > > Best Regards, > J. > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox