Add .gitignore file for git.
[virt-p2v.git] / inittab
1 # Custom inittab for p2v livecd.
2
3 id:3:initdefault:
4
5 # System initialization.
6 si::sysinit:/etc/rc.d/rc.sysinit
7
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
15
16 # Trap CTRL-ALT-DELETE
17 ca::ctrlaltdel:/sbin/shutdown -t3 -r now
18
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"
24
25 # If power was restored before the shutdown kicked in, cancel it.
26 pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
27
28 # Run virt-p2v on tty1
29 1:3:once:/usr/bin/virt-p2v-update-wrapper /usr/bin/virt-p2v tty1
30
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
37
38 # This file must end with a newline.
39