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.
|
2010-12-12 22:53:51 +01:00
|
|
|
id:1:initdefault:
|
|
|
|
|
|
|
|
proc::sysinit:/bin/mount -t proc proc /proc
|
2011-07-03 12:56:03 +02:00
|
|
|
rwmo::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
|
2010-12-12 22:53:51 +01:00
|
|
|
dpts::sysinit:/bin/mkdir -p /dev/pts
|
2013-10-30 23:55:32 +01:00
|
|
|
dshm::sysinit:/bin/mkdir -p /dev/shm
|
2010-12-12 22:53:51 +01:00
|
|
|
moun::sysinit:/bin/mount -a
|
|
|
|
host::sysinit:/bin/hostname -F /etc/hostname
|
|
|
|
init::sysinit:/etc/init.d/rcS
|
|
|
|
|
|
|
|
1:1:respawn:/sbin/getty 38400 tty1
|
|
|
|
2:1:respawn:/sbin/getty 38400 tty2
|
|
|
|
|
|
|
|
# S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
|
|
|
|
|
|
|
|
# Logging junk
|
|
|
|
mess::sysinit:/bin/touch /var/log/messages
|
|
|
|
sysl:1:respawn:/sbin/syslogd -n -m 0
|
|
|
|
klog:1:respawn:/sbin/klogd -n
|
|
|
|
|
|
|
|
# Stuff to do for the 3-finger salute
|
|
|
|
rebo::ctrlaltdel:/sbin/reboot
|
|
|
|
|
|
|
|
# Stuff to do before rebooting
|
|
|
|
sklo:6:wait:/usr/bin/killall klogd
|
|
|
|
ssys:6:wait:/usr/bin/killall syslogd
|
|
|
|
umou:6:wait:/bin/umount -a -r
|
|
|
|
swap:6:wait:/sbin/swapoff -a
|