2010-12-12 22:53:51 +01:00
|
|
|
# /etc/inittab
|
|
|
|
#
|
|
|
|
# This inittab is a basic inittab sample for sysvinit, which mimics
|
2014-05-31 09:55:35 +02:00
|
|
|
# Buildroot's default inittab for BusyBox.
|
2014-11-20 20:18:40 +01:00
|
|
|
id:3:initdefault:
|
2010-12-12 22:53:51 +01:00
|
|
|
|
2014-11-20 20:18:40 +01:00
|
|
|
si0::sysinit:/bin/mount -t proc proc /proc
|
|
|
|
si1::sysinit:/bin/mount -o remount,rw /
|
|
|
|
si2::sysinit:/bin/mkdir -p /dev/pts
|
|
|
|
si3::sysinit:/bin/mkdir -p /dev/shm
|
|
|
|
si4::sysinit:/bin/mount -a
|
|
|
|
si5::sysinit:/bin/hostname -F /etc/hostname
|
|
|
|
si6::sysinit:/etc/init.d/rcS
|
2010-12-12 22:53:51 +01:00
|
|
|
|
|
|
|
# S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
|
|
|
|
|
|
|
|
# Stuff to do for the 3-finger salute
|
2016-01-03 23:00:33 +01:00
|
|
|
#ca::ctrlaltdel:/sbin/reboot
|
2010-12-12 22:53:51 +01:00
|
|
|
|
|
|
|
# Stuff to do before rebooting
|
2014-11-20 20:18:40 +01:00
|
|
|
shd0:06:wait:/etc/init.d/rcK
|
|
|
|
shd1:06:wait:/sbin/swapoff -a
|
|
|
|
shd2:06:wait:/bin/umount -a -r
|
|
|
|
|
|
|
|
# The usual halt or reboot actions
|
|
|
|
hlt0:0:wait:/sbin/halt -dhp
|
|
|
|
reb0:6:wait:/sbin/reboot
|