projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gemini: splash banner on framebuffer console
[openwrt/staging/mkresin.git]
/
target
/
linux
/
gemini
/
base-files
/
etc
/
board.d
/
03_splash
diff --git a/target/linux/gemini/base-files/etc/board.d/03_splash
b/target/linux/gemini/base-files/etc/board.d/03_splash
new file mode 100644
(file)
index 0000000..
0c50ff7
--- /dev/null
+++ b/
target/linux/gemini/base-files/etc/board.d/03_splash
@@ -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