mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-27 17:12:46 +00:00
gemini: splash banner on framebuffer console
The D-Link DIR-685 has a small screen with a framebuffer console, so if we have this, when we start, display the banner on this framebuffer console so the user know they are running OpenWRT as root filesystem. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
7a6a349445
commit
4293fc32b7
9
target/linux/gemini/base-files/etc/board.d/03_splash
Normal file
9
target/linux/gemini/base-files/etc/board.d/03_splash
Normal file
@ -0,0 +1,9 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# OpenWRT splash screen if using framebuffer console
|
||||
|
||||
if [ ! -d /sys/class/graphics/fbcon ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo 0 > /sys/class/graphics/fbcon/cursor_blink
|
||||
cat /etc/banner > /dev/tty0
|
Loading…
Reference in New Issue
Block a user