Changeset 3090 for branches/3.0/mindi


Ignore:
Timestamp:
Mar 13, 2013, 10:12:46 PM (7 years ago)
Author:
bruno
Message:
  • Try to improve ctrl-alt-del detection by adding busybox options (including syslog, klog which were missing). showkey show that the sendkey from KVM generates the right keycodes, but a release RETURN key is seen in the middle that may make this test a void one, compared to a real physical test.
  • rcS now alos displays messages on tty9
  • more inittab cleanups taken from various examples
Location:
branches/3.0/mindi/rootfs/etc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/rootfs/etc/init.d/rcS

    r3051 r3090  
    106106    openvt $opt 7 /bin/sh /sbin/wait-for-petris
    107107    openvt $opt 8 /usr/bin/tail -f $LOGFILE
     108    openvt $opt 9 /usr/bin/tail -f /var/log/messages
    108109    # May avoid shell error messages
    109110    chmod 666 /dev/tty* /dev/console
  • branches/3.0/mindi/rootfs/etc/inittab

    r3089 r3090  
    11#
    22# inittab       This file describes how the INIT process should set up
    3 #               the system in a certain run-level.
     3#               the system in the mindi-busybox context
    44#
    5 # Default runlevel for MondoRescue 3
    6 #
    7 id:3:initdefault:
     5
     6# Order is important, read from bottom to top
     7
     8# By default launch the MondoRescue script
     9console::sysinit:/etc/init.d/rcS
     10
     11console::restart:/sbin/init
    812
    913# Trap CTRL-ALT-DELETE
    10 ca::ctrlaltdel:/sbin/reboot
    11 #::ctrlaltdel:/bin/umount -a -r
     14null::ctrlaltdel:/sbin/reboot
    1215
    13 ::respawn:-/bin/sh
    14 tty2::askfirst:/bin/sh
    15 tty3::askfirst:/bin/sh
    16 tty4::askfirst:/bin/sh
    17 tty5::askfirst:/bin/sh
    18 tty6::askfirst:/bin/sh
    19 tty7::askfirst:/bin/sh
    20 
    21 # Single user mode
    22 su:S:wait:/bin/sh
     16null::shutdown:/bin/killall klogd
     17null::shutdown:/bin/killall syslogd
     18null::shutdown:/bin/umount -a -r
Note: See TracChangeset for help on using the changeset viewer.