# HG changeset patch # User Aleksej Bobylev # Date 1400176036 -10800 # Node ID 6a2336e84fa681c8f749878101541262be4c90fb # Parent 43adefea453d30fe17ffa555259acc746e5569f8 bootopts.sh: add "font=" cheatcode to read/write console on your language (ru, el, etc?); example: "font=ter-v14n" for 14px Terminus (provided in terminus-font-base package). diff -r 43adefea453d -r 6a2336e84fa6 etc/init.d/bootopts.sh --- a/etc/init.d/bootopts.sh Mon May 05 22:35:16 2014 +0200 +++ b/etc/init.d/bootopts.sh Thu May 15 20:47:16 2014 +0300 @@ -74,6 +74,12 @@ echo -n "Setting system keymap to: $KEYMAP..." echo "$KEYMAP" > /etc/keymap.conf status ;; + font=*) + # Check for a specified console font (font=*). + FONT=${opt#font=} + echo -n "Setting console font to: $FONT..." + for con in 1 2 3 4 5 6; do setfont $FONT -C /dev/tty$con; done + status ;; home=*) # Check for a specified home partition (home=*) and check for # user home dir. Note: home=usb is a shorter and easier way to