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