mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
busybox:
- start debugshell in debugmode - cosmetics
This commit is contained in:
parent
1a83044fd0
commit
ed1a2a5304
@ -1,15 +1,17 @@
|
||||
# start the ACPI daemon subsystem
|
||||
# start debug shell
|
||||
#
|
||||
# runlevels: openelec, text, debug
|
||||
# runlevels: openelec, debug, text
|
||||
|
||||
TTY="3"
|
||||
TTY="3"
|
||||
|
||||
(
|
||||
echo "#############################################"
|
||||
echo "### it seems we are running in Debug mode ###"
|
||||
echo "### starting debugging shell on console $TTY ###"
|
||||
echo "### ...... switch with ctrl-alt-f$TTY ...... ###"
|
||||
echo "#############################################"
|
||||
exec /bin/sh </dev/tty$TTY >/dev/tty$TTY 2>&1
|
||||
)&
|
||||
if [ "$DEBUG"="yes" ]; then
|
||||
|
||||
echo "###########################################"
|
||||
echo "## it seems we are running in Debug mode ##"
|
||||
echo "## starting debugging shell on console $TTY ##"
|
||||
echo "## ...... switch with ctrl-alt-f$TTY ...... ##"
|
||||
echo "###########################################"
|
||||
|
||||
exec /bin/sh </dev/tty$TTY >/dev/tty$TTY 2>&1 &
|
||||
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user