mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
if test -f /usr/bin/dbus-daemon; then
|
||||
echo "### Starting D-BUS ###"
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start Avahi Daemon
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
if test -f /usr/sbin/avahi-daemon; then
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# setup bluetooth daemons
|
||||
#
|
||||
# runlevels: openelec, debug
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
echo "### Starting Bluetooth support ###"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start Connection Manager
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
if test -f /usr/sbin/connmand; then
|
||||
echo "### Starting Connection Manager ###"
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start D-BUS/HAL automounter daemon
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
if test -f /usr/bin/automountd; then
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start cron daemon
|
||||
#
|
||||
# runlevels: openelec, debug
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
echo "### Starting Syslog daemon ###"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start telnet daemon
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
# get options
|
||||
test -f /etc/network || exit 1
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start http daemon
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
# get options
|
||||
test -f /etc/network || exit 1
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start cron daemon
|
||||
#
|
||||
# runlevels: openelec, debug
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
echo "### Starting CRON daemon ###"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start a debugging shell
|
||||
#
|
||||
# runlevels: debug
|
||||
# runlevels: text
|
||||
|
||||
# start shell
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# shutdown the system
|
||||
#
|
||||
# runlevels: openelec, debug, text,
|
||||
# runlevels: openelec, text, debug,
|
||||
|
||||
echo "### syncing discs ###"
|
||||
sync
|
||||
|
@ -22,6 +22,9 @@
|
||||
debugging)
|
||||
DEBUG=yes
|
||||
;;
|
||||
text)
|
||||
TEXTMODE=yes
|
||||
;;
|
||||
configure)
|
||||
CONFIGURE=yes
|
||||
;;
|
||||
@ -45,6 +48,8 @@
|
||||
RUNLEVEL="openelec"
|
||||
if test "$DEBUG" = yes; then
|
||||
RUNLEVEL="debug"
|
||||
elif test "$TEXTMODE" = yes; then
|
||||
RUNLEVEL="text"
|
||||
elif test "$CONFIGURE" = yes; then
|
||||
RUNLEVEL="configure"
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start HAL daemon
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
if test -f /usr/sbin/hald; then
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# start udev daemon
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# configure X.Org video settings
|
||||
#
|
||||
# runlevels: openelec, configure
|
||||
# runlevels: openelec, debug
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# configure GDK Pixbuf Loaders
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# configure Pango Modules
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user