busybox: add applet 'openvt', use openvt for our shells

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-04-03 16:46:37 +02:00
parent 24c19605c5
commit 66041a1f30
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.18.3
# Sat Feb 19 14:18:19 2011
# Busybox version: 1.18.4
# Sun Apr 3 16:13:37 2011
#
CONFIG_HAVE_DOT_CONFIG=y
@ -314,7 +314,7 @@ CONFIG_CLEAR=y
# CONFIG_KBD_MODE is not set
# CONFIG_LOADFONT is not set
CONFIG_LOADKMAP=y
# CONFIG_OPENVT is not set
CONFIG_OPENVT=y
CONFIG_RESET=y
# CONFIG_RESIZE is not set
# CONFIG_FEATURE_RESIZE_PRINT is not set
@ -458,9 +458,9 @@ CONFIG_LOGIN_SCRIPTS=y
# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set
# CONFIG_CRYPTPW is not set
# CONFIG_CHPASSWD is not set
CONFIG_SU=y
CONFIG_FEATURE_SU_SYSLOG=y
CONFIG_FEATURE_SU_CHECKS_SHELLS=y
# CONFIG_SU is not set
# CONFIG_FEATURE_SU_SYSLOG is not set
# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set
# CONFIG_SULOGIN is not set
# CONFIG_VLOCK is not set

View File

@ -32,6 +32,6 @@ if [ "$DEBUG" = "yes" ]; then
echo "## ...... switch with ctrl-alt-f$TTY ...... ##"
echo "###########################################"
exec /sbin/getty -n -l /bin/sh 38400 tty$TTY &
openvt -w -c $TTY /bin/sh &
fi

View File

@ -31,5 +31,5 @@ echo "## ...... switch with ctrl-alt-f$TTY ...... ##"
echo "###########################################"
while true; do
exec /sbin/getty -n -l /bin/sh 38400 tty$TTY
openvt -w -c $TTY /bin/sh
done