[PATCH 0/5 v3] defaultenv-2: add login support
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Sep 16 13:48:24 EDT 2013
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)
----------------------------------------------------------------
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.
More information about the barebox
mailing list