From 66041a1f3094d5cfbfbbd4f9c105f815b4a76692 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 3 Apr 2011 16:46:37 +0200 Subject: [PATCH] busybox: add applet 'openvt', use openvt for our shells Signed-off-by: Stephan Raue --- packages/sysutils/busybox/config/busybox.conf | 12 ++++++------ packages/sysutils/busybox/init.d/03_debugshell | 2 +- packages/sysutils/busybox/init.d/99_shell | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/sysutils/busybox/config/busybox.conf b/packages/sysutils/busybox/config/busybox.conf index 892bea5fa3..1e6c9261b0 100644 --- a/packages/sysutils/busybox/config/busybox.conf +++ b/packages/sysutils/busybox/config/busybox.conf @@ -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 diff --git a/packages/sysutils/busybox/init.d/03_debugshell b/packages/sysutils/busybox/init.d/03_debugshell index b82564e271..94e5da62c6 100644 --- a/packages/sysutils/busybox/init.d/03_debugshell +++ b/packages/sysutils/busybox/init.d/03_debugshell @@ -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 diff --git a/packages/sysutils/busybox/init.d/99_shell b/packages/sysutils/busybox/init.d/99_shell index 155d8ce538..111fe07e08 100644 --- a/packages/sysutils/busybox/init.d/99_shell +++ b/packages/sysutils/busybox/init.d/99_shell @@ -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