tty: use proper i-f-serial
...the one starting agetty in installer if told so (0.4+); also improve runlevel 2 with potential serial access.
This commit is contained in:
parent
b13ba8129f
commit
ce0f4ed33c
@ -3,6 +3,7 @@ use/tty:
|
|||||||
@$(call xport,TTY_DEV)
|
@$(call xport,TTY_DEV)
|
||||||
@$(call xport,TTY_RATE)
|
@$(call xport,TTY_RATE)
|
||||||
ifeq (distro,$(IMAGE_CLASS))
|
ifeq (distro,$(IMAGE_CLASS))
|
||||||
|
@$(call add,INSTALL2_PACKAGES,installer-feature-serial-stage2)
|
||||||
@$(call add,BASE_PACKAGES,installer-feature-serial-stage3)
|
@$(call add,BASE_PACKAGES,installer-feature-serial-stage3)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ if ! grep -q "$BIN" "$CFG"; then
|
|||||||
n=0
|
n=0
|
||||||
for t in $GLOBAL_TTY_DEV; do
|
for t in $GLOBAL_TTY_DEV; do
|
||||||
grep -q "$t" "$SEC" || echo "$t" >>"$SEC"
|
grep -q "$t" "$SEC" || echo "$t" >>"$SEC"
|
||||||
echo "T$n:345:respawn:$BIN -L $t $GLOBAL_TTY_RATE vt100" >> $CFG
|
echo "T$n:2345:respawn:$BIN -L $t $GLOBAL_TTY_RATE vt100" >>$CFG
|
||||||
n=$(($n+1))
|
n=$(($n+1))
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user