init: check first if fbcon/cursor_blink exists

This commit is contained in:
Stefan Saraev 2015-01-12 13:24:58 +02:00 committed by Stephan Raue
parent ca8f7f091c
commit c5b59eef8a

View File

@ -60,7 +60,9 @@
# clear screen and hide cursor
clear
echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
if [ -f /sys/devices/virtual/graphics/fbcon/cursor_blink ] ; then
echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
fi
# parse command line arguments
for arg in $(cat /proc/cmdline); do