mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
add a kernel commandline <text> for a text shell mode for debugging
This commit is contained in:
parent
7a025e4edc
commit
bbba652b87
@ -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 ###"
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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 ###"
|
||||||
|
|
||||||
|
@ -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 ###"
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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 ###"
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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 ###"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# start a debugging shell
|
# start a debugging shell
|
||||||
#
|
#
|
||||||
# runlevels: debug
|
# runlevels: text
|
||||||
|
|
||||||
# start shell
|
# start shell
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# start udev daemon
|
# start udev daemon
|
||||||
#
|
#
|
||||||
# runlevels: openelec, debug, configure
|
# runlevels: openelec, text, debug
|
||||||
|
|
||||||
. /etc/sysconfig
|
. /etc/sysconfig
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# configure X.Org video settings
|
# configure X.Org video settings
|
||||||
#
|
#
|
||||||
# runlevels: openelec, configure
|
# runlevels: openelec, debug
|
||||||
|
|
||||||
. /etc/sysconfig
|
. /etc/sysconfig
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# configure GDK Pixbuf Loaders
|
# configure GDK Pixbuf Loaders
|
||||||
#
|
#
|
||||||
# runlevels: openelec, debug, configure
|
# runlevels: openelec, text, debug
|
||||||
|
|
||||||
. /etc/sysconfig
|
. /etc/sysconfig
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# configure Pango Modules
|
# configure Pango Modules
|
||||||
#
|
#
|
||||||
# runlevels: openelec, debug, configure
|
# runlevels: openelec, text, debug
|
||||||
|
|
||||||
. /etc/sysconfig
|
. /etc/sysconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user