fc0c9b5803fd9414511b1256907f2151c874b2dc
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / sysvinit / inittab
1 # /etc/inittab
2 #
3 # This inittab is a basic inittab sample for sysvinit, which mimics
4 # Buildroot's default inittab for BusyBox.
5 id:3:initdefault:
6
7 si0::sysinit:/bin/mount -t proc proc /proc
8 si1::sysinit:/bin/mount -o remount,rw /
9 si2::sysinit:/bin/mkdir -p /dev/pts
10 si3::sysinit:/bin/mkdir -p /dev/shm
11 si4::sysinit:/bin/mount -a
12 si5::sysinit:/bin/hostname -F /etc/hostname
13 si6::sysinit:/etc/init.d/rcS
14
15 # S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
16
17 # Stuff to do for the 3-finger salute
18 ca::ctrlaltdel:/sbin/reboot
19
20 # Stuff to do before rebooting
21 shd0:06:wait:/etc/init.d/rcK
22 shd1:06:wait:/sbin/swapoff -a
23 shd2:06:wait:/bin/umount -a -r
24
25 # The usual halt or reboot actions
26 hlt0:0:wait:/sbin/halt -dhp
27 reb0:6:wait:/sbin/reboot