1 # Custom inittab for p2v livecd.
5 # System initialization.
6 si::sysinit:/etc/rc.d/rc.sysinit
8 l0:0:wait:/etc/rc.d/rc 0
9 l1:1:wait:/etc/rc.d/rc 1
10 l2:2:wait:/etc/rc.d/rc 2
11 l3:3:wait:/etc/rc.d/rc 3
12 l4:4:wait:/etc/rc.d/rc 4
13 l5:5:wait:/etc/rc.d/rc 5
14 l6:6:wait:/etc/rc.d/rc 6
16 # Trap CTRL-ALT-DELETE
17 ca::ctrlaltdel:/sbin/shutdown -t3 -r now
19 # When our UPS tells us power has failed, assume we have a few minutes
20 # of power left. Schedule a shutdown for 2 minutes from now.
21 # This does, of course, assume you have powerd installed and your
22 # UPS connected and working correctly.
23 pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
25 # If power was restored before the shutdown kicked in, cancel it.
26 pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
28 # Run virt-p2v.sh on tty1
29 1:3:once:/usr/bin/virt-p2v.sh tty1
31 # Run gettys but not on tty1 which is where virt-p2v runs.
32 2:2345:respawn:/sbin/mingetty tty2
33 3:2345:respawn:/sbin/mingetty tty3
34 4:2345:respawn:/sbin/mingetty tty4
35 5:2345:respawn:/sbin/mingetty tty5
36 6:2345:respawn:/sbin/mingetty tty6
38 # This file must end with a newline.