If we use the standard login program CTRL-C works fine when we enter
it from the VM 3215 console window.
If we change the /etc/inittab to use the bootshell written by
Mike Kershaw or to the script below that was published on this
newsgroup the CTRL-C don't work.

We would like to have the features this kind of bootshell gives us
but we also would like the CTRL-C to work.

Could someone tell us how to fix that or explain why it don't work

Boot shell
#!/bin/bash
CONSOLE="$1"
if [ -z "$CONSOLE" ] ; then \
CONSOLE=/dev/console ; fi
PS1=`hostname`
#PS1="$PS1 # "
PS1="$PS1 \\\$ "
export PS1
SHELL=/bin/sh
if [ -x /sbin/sh ] ; then SHELL=/sbin/sh ; fi
exec $SHELL -i 0<$CONSOLE 1>$CONSOLE 2>$CONSOLE

Thanks,
Mats Westlund

Reply via email to