diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2013-10-15 14:38:36 -0700 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-10-16 09:00:42 +0300 |
commit | bb2db04df1e6e17987e2eedc49690bb72cb143da (patch) | |
tree | 957253cecd8ddaa72f7648a77ff5d6464331a21f /meta-linaro-toolchain | |
parent | facf62048b84cd7060226696b30aee76a39ee2d9 (diff) |
auto-serial-console: make sure that all console= entries checked
auto-getty is called with -e option which means errexit (exit on error).
If console= entry is not in /etc/securetty file
`/bin/egrep "^${secure}$" /etc/securetty` returns error and processing
stops. Make sure that unsuccessful egrep does not stop script execution
add 'true' at the end.
Existing auto-getty were failing to start session on ttyO2 on Pandaboard
when the following command line was used:
console=tty0 console=ttyO2,115200n8 root=/dev/mmcblk0p2 ...
and tty0 is not in /etc/securetty
Change-Id: I1654c3a48cd45247b78085fe1712e4a51b0bffc2
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Diffstat (limited to 'meta-linaro-toolchain')
0 files changed, 0 insertions, 0 deletions