add a kernel commandline <text> for a text shell mode for debugging

This commit is contained in:
Stephan Raue 2009-03-27 18:07:41 +01:00
parent 7a025e4edc
commit bbba652b87
17 changed files with 21 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# #
# start D-BUS daemon # start D-BUS daemon
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
if test -f /usr/bin/dbus-daemon; then if test -f /usr/bin/dbus-daemon; then
echo "### Starting D-BUS ###" echo "### Starting D-BUS ###"

View File

@ -2,7 +2,7 @@
# #
# start Avahi Daemon # start Avahi Daemon
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
if test -f /usr/sbin/avahi-daemon; then if test -f /usr/sbin/avahi-daemon; then

View File

@ -2,7 +2,7 @@
# #
# setup bluetooth daemons # setup bluetooth daemons
# #
# runlevels: openelec, debug # runlevels: openelec, text, debug
echo "### Starting Bluetooth support ###" echo "### Starting Bluetooth support ###"

View File

@ -2,7 +2,7 @@
# #
# start Connection Manager # start Connection Manager
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
if test -f /usr/sbin/connmand; then if test -f /usr/sbin/connmand; then
echo "### Starting Connection Manager ###" echo "### Starting Connection Manager ###"

View File

@ -2,7 +2,7 @@
# #
# start D-BUS/HAL automounter daemon # start D-BUS/HAL automounter daemon
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
if test -f /usr/bin/automountd; then if test -f /usr/bin/automountd; then

View File

@ -2,7 +2,7 @@
# #
# start cron daemon # start cron daemon
# #
# runlevels: openelec, debug # runlevels: openelec, text, debug
echo "### Starting Syslog daemon ###" echo "### Starting Syslog daemon ###"

View File

@ -2,7 +2,7 @@
# #
# start telnet daemon # start telnet daemon
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
# get options # get options
test -f /etc/network || exit 1 test -f /etc/network || exit 1

View File

@ -2,7 +2,7 @@
# #
# start http daemon # start http daemon
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
# get options # get options
test -f /etc/network || exit 1 test -f /etc/network || exit 1

View File

@ -2,7 +2,7 @@
# #
# start cron daemon # start cron daemon
# #
# runlevels: openelec, debug # runlevels: openelec, text, debug
echo "### Starting CRON daemon ###" echo "### Starting CRON daemon ###"

View File

@ -2,7 +2,7 @@
# #
# start a debugging shell # start a debugging shell
# #
# runlevels: debug # runlevels: text
# start shell # start shell

View File

@ -2,7 +2,7 @@
# #
# shutdown the system # shutdown the system
# #
# runlevels: openelec, debug, text, # runlevels: openelec, text, debug,
echo "### syncing discs ###" echo "### syncing discs ###"
sync sync

View File

@ -22,6 +22,9 @@
debugging) debugging)
DEBUG=yes DEBUG=yes
;; ;;
text)
TEXTMODE=yes
;;
configure) configure)
CONFIGURE=yes CONFIGURE=yes
;; ;;
@ -45,6 +48,8 @@
RUNLEVEL="openelec" RUNLEVEL="openelec"
if test "$DEBUG" = yes; then if test "$DEBUG" = yes; then
RUNLEVEL="debug" RUNLEVEL="debug"
elif test "$TEXTMODE" = yes; then
RUNLEVEL="text"
elif test "$CONFIGURE" = yes; then elif test "$CONFIGURE" = yes; then
RUNLEVEL="configure" RUNLEVEL="configure"
fi fi

View File

@ -2,7 +2,7 @@
# #
# start HAL daemon # start HAL daemon
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
if test -f /usr/sbin/hald; then if test -f /usr/sbin/hald; then

View File

@ -2,7 +2,7 @@
# #
# start udev daemon # start udev daemon
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
. /etc/sysconfig . /etc/sysconfig

View File

@ -2,7 +2,7 @@
# #
# configure X.Org video settings # configure X.Org video settings
# #
# runlevels: openelec, configure # runlevels: openelec, debug
. /etc/sysconfig . /etc/sysconfig

View File

@ -2,7 +2,7 @@
# #
# configure GDK Pixbuf Loaders # configure GDK Pixbuf Loaders
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
. /etc/sysconfig . /etc/sysconfig

View File

@ -2,7 +2,7 @@
# #
# configure Pango Modules # configure Pango Modules
# #
# runlevels: openelec, debug, configure # runlevels: openelec, text, debug
. /etc/sysconfig . /etc/sysconfig