Sign in
android-kvm
/
buildroot
/
40bb37bd70d46822e803aaa5169dee8ff8b51093
/
.
/
board
/
synopsys
/
axs10x
/
post-build.sh
blob: f23c8a99b81f39b6491557af4e387ae2710dd00c [
file
] [
log
] [
blame
]
#!/bin/sh
set
-
u
set
-
e
# Add a console on tty0
if
[
-
e $
{
TARGET_DIR
}/
etc
/
inittab
];
then
grep
-
qE
'^tty0::'
$
{
TARGET_DIR
}/
etc
/
inittab
||
\
sed
-
i
'/GENERIC_SERIAL/a\
tty0::respawn:/sbin/getty 115200 tty0'
$
{
TARGET_DIR
}/
etc
/
inittab
fi