mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
busybox:
- change runlevel "text" to "textmode" - cosmetics
This commit is contained in:
parent
5877c793c7
commit
9df8b527f8
@ -1,6 +1,6 @@
|
||||
# start debug shell
|
||||
#
|
||||
# runlevels: openelec, text
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
TTY="3"
|
||||
|
||||
@ -12,7 +12,6 @@ if [ "$DEBUG" = "yes" ]; then
|
||||
echo "## ...... switch with ctrl-alt-f$TTY ...... ##"
|
||||
echo "###########################################"
|
||||
|
||||
# exec /bin/sh </dev/tty$TTY >/dev/tty$TTY 2>&1 &
|
||||
exec /sbin/getty -n -l /bin/sh 38400 tty$TTY &
|
||||
|
||||
fi
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# mounting needed filesystems
|
||||
#
|
||||
# runlevels: openelec, text
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
progress "mounting needed filesystems"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# make variable directory structure
|
||||
#
|
||||
# runlevels: openelec, text
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
progress "make variable directory structure"
|
||||
$IONICE mkdir -p /var/log \
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# copying config into storage
|
||||
#
|
||||
# runlevels: openelec, text
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
progress "copying config into storage"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# start syslog daemon
|
||||
#
|
||||
# runlevels: openelec, text
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
HOSTNAME=`cat /etc/hostname`
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# start syslog daemon
|
||||
#
|
||||
# runlevels: openelec, text
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
(
|
||||
progress "Starting Syslog daemon"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# start the ACPI daemon subsystem
|
||||
#
|
||||
# runlevels: openelec, text
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
(
|
||||
progress "Starting ACPI daemon"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# start text mode shell
|
||||
#
|
||||
# runlevels: text
|
||||
# runlevels: textmode
|
||||
|
||||
TTY="1"
|
||||
|
||||
@ -11,6 +11,5 @@ echo "## ...... switch with ctrl-alt-f$TTY ...... ##"
|
||||
echo "###########################################"
|
||||
|
||||
while true; do
|
||||
# exec /bin/sh </dev/tty$TTY >/dev/tty$TTY 2>&1
|
||||
exec /sbin/getty -n -l /bin/sh 38400 tty$TTY
|
||||
done
|
||||
|
@ -6,7 +6,7 @@
|
||||
# getting runlevel
|
||||
RUNLEVEL="openelec"
|
||||
if test "$TEXTMODE" = yes; then
|
||||
RUNLEVEL="text"
|
||||
RUNLEVEL="textmode"
|
||||
fi
|
||||
|
||||
# starting init scripts for wanted runlevel
|
||||
|
Loading…
x
Reference in New Issue
Block a user