mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
busybox:
- show splashscreen
This commit is contained in:
parent
6c1b4c42f8
commit
77211cd492
@ -17,6 +17,10 @@
|
|||||||
# setting up $PATH
|
# setting up $PATH
|
||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
|
|
||||||
|
# showing splash
|
||||||
|
test -f /usr/share/splash/splash.ppm && \
|
||||||
|
fbsplash -s /usr/share/splash/splash.ppm
|
||||||
|
|
||||||
# parse command line arguments
|
# parse command line arguments
|
||||||
BOOT=`cat /proc/cmdline | sed 's/.*boot=// ; s/ .*//'`
|
BOOT=`cat /proc/cmdline | sed 's/.*boot=// ; s/ .*//'`
|
||||||
DISK=`cat /proc/cmdline | sed 's/.*disk=// ; s/ .*//'`
|
DISK=`cat /proc/cmdline | sed 's/.*disk=// ; s/ .*//'`
|
||||||
@ -34,11 +38,11 @@
|
|||||||
done
|
done
|
||||||
|
|
||||||
# starting debugging shell
|
# starting debugging shell
|
||||||
if test "$DEBUG" = yes; then
|
# if test "$DEBUG" = yes; then
|
||||||
echo "### starting debugging shell on console 3 ###"
|
echo "### starting debugging shell on console 3 ###"
|
||||||
echo "### ...... switch with ctrl-alt-f3 ...... ###"
|
echo "### ...... switch with ctrl-alt-f3 ...... ###"
|
||||||
exec /bin/sh </dev/tty3 >/dev/tty3 2>&1 &
|
exec /bin/sh </dev/tty3 >/dev/tty3 2>&1 &
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# make variable directory structure
|
# make variable directory structure
|
||||||
install -m 1777 -d /var/run
|
install -m 1777 -d /var/run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user