11ed528660
We don't do it for busybox init so do the same for consistency here. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
636 B
Plaintext
23 lines
636 B
Plaintext
# /etc/inittab
|
|
#
|
|
# This inittab is a basic inittab sample for sysvinit, which mimics
|
|
# Buildroot's default inittab for BusyBox.
|
|
id:1:initdefault:
|
|
|
|
proc::sysinit:/bin/mount -t proc proc /proc
|
|
rwmo::sysinit:/bin/mount -o remount,rw /
|
|
dpts::sysinit:/bin/mkdir -p /dev/pts
|
|
dshm::sysinit:/bin/mkdir -p /dev/shm
|
|
moun::sysinit:/bin/mount -a
|
|
host::sysinit:/bin/hostname -F /etc/hostname
|
|
init::sysinit:/etc/init.d/rcS
|
|
|
|
# S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
|
|
|
|
# Stuff to do for the 3-finger salute
|
|
rebo::ctrlaltdel:/sbin/reboot
|
|
|
|
# Stuff to do before rebooting
|
|
umou:6:wait:/bin/umount -a -r
|
|
swap:6:wait:/sbin/swapoff -a
|