Technical data
3. Base configuration
The device denotes the terminal used for program input/output. Possible devices are termi-
nals tty1-tty4 or serial terminals ttyS0-ttySn with n the number of available serial ports.
The possible actions are typically askfirst or respawn. Using askfirst lets “init” wait for
a keypress before running that command. The respawn action causes the command to be
automatically restarted whenever it terminates.
command specifies the program to execute. You have to use a fully qualified path.
The documentation of the Busybox toolkit at http://www.busybox.net contains a detailed
description of the inittab format.
The normal inittab file is as follows:
::sysinit:/etc/rc
::respawn:/usr/local/bin/mini-login
::ctrlaltdel:/sbin/reboot
::shutdown:/etc/rc0
::restart:/sbin/init
You could e.g. extend it by the entry
tty2::askfirst:/usr/local/bin/mini-login
in order to get a second login process on the second terminal. To achieve this, simply copy
the file opt/etc/inittab to config directory /etc/inittab and edit the copy accordingly.
3.6. Localized keyboard layouts
KEYBOARD_LOCALE Default Setting: KEYBOARD_LOCALE=’auto’
If you sometimes work directly at the router’s console you will appreciate a localized
keyboard layout. With KEYBOARD_LOCALE=’auto’, fli4l tries to find a keyboard layout that
is compatible with the LOCALE setting. With KEYBOARD_LOCALE=”, no keyboard layout will
be installed on the fli4l router, causing the kernel’s default layout to be used. Alterna-
tively, you may set the variable to the name of a local keyboard layout map. If you e.g.
use KEYBOARD_LOCALE=’de-latin1’, the build process checks whether there is a file named
de-latin1.map in the directory opt/etc. If this is the case, this file will be used when
configuring the keyboard layout.
OPT_MAKEKBL Default Setting: OPT_MAKEKBL=’no’
If you want to create a map file for your keyboard, you have to proceed as follows:
• Set OPT_MAKEKBL to ‘yes’.
• Invoke ’makekbl.sh’ on the router. Preferably, you use a SSH connection as the
keyboard layout changes and this can be quite annoying.
• Follow the instructions.
• You will find your new locale .map file in /tmp.
The tasks to be done directly on the router are now completed.
31










