|
|
 |
How To Guide
How to configure the distribution
Control-C on default console
|
|
Control-C on default console
CTRL-C may not work when using a serial console. This is because, by default, the console is started using the device /dev/console, and any attempt to set the process group of this device will always fail. The easiest way to overcome this is to edit the file/etc/inittab:
host# cd /export/rootfs/<user> host# vi ./etc/inittab |
|
|
Find the definition containing /sbin/getty console and comment it out (with an initial #). Then find the definitions containing /sbin/getty -L. If one of these includes the physical name of the console, for example ttyFW0, remove the comment character (#) from the beginning of the line and check that the baud rate and terminal type are correct. If not, add an appropriate line, for example:
FW0:2345:respawn:/sbin/getty ttyFW0 |
|
|
Note: The physical name of the console is the name passed to the kernel with the console= parameter.
|