remove /dev/vc from km script it has been removed in udev

This commit is contained in:
Tobias Powalowski 2010-02-13 15:50:54 +01:00
parent 0c4affde37
commit 5900978332

View file

@ -77,11 +77,7 @@ doconsolefont() {
if [ "$font" ]; then if [ "$font" ]; then
DIALOG --infobox "Loading font: $font" 0 0 DIALOG --infobox "Loading font: $font" 0 0
for i in $(seq 1 6); do for i in $(seq 1 6); do
if [ -d /dev/vc ]; then
setfont $BASEDIR/consolefonts/$font -C /dev/vc/${i} > /dev/null 2>&1
else
setfont $BASEDIR/consolefonts/$font -C /dev/tty${i} > /dev/null 2>&1 setfont $BASEDIR/consolefonts/$font -C /dev/tty${i} > /dev/null 2>&1
fi
done done
[ -e /dev/ttyS0 ] && setfont $BASEDIR/consolefonts/$font -C /dev/ttyS0 > /dev/null 2>&1 [ -e /dev/ttyS0 ] && setfont $BASEDIR/consolefonts/$font -C /dev/ttyS0 > /dev/null 2>&1
fi fi