]> rtime.felk.cvut.cz Git - hercules2020/jailhouse-build.git/blob - build/rootfs-overlay/etc/inittab
login prompt is on tty0
[hercules2020/jailhouse-build.git] / build / rootfs-overlay / etc / inittab
1 # /etc/inittab
2 #
3 # Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
4 #
5 # Note: BusyBox init doesn't support runlevels.  The runlevels field is
6 # completely ignored by BusyBox init. If you want runlevels, use
7 # sysvinit.
8 #
9 # Format for each entry: <id>:<runlevels>:<action>:<process>
10 #
11 # id        == tty to run on, or empty for /dev/console
12 # runlevels == ignored
13 # action    == one of sysinit, respawn, askfirst, wait, and once
14 # process   == program to run
15
16 # Startup the system
17 ::sysinit:/bin/mount -t proc proc /proc
18 ::sysinit:/bin/mount -o remount,rw /
19 ::sysinit:/bin/mkdir -p /dev/pts
20 ::sysinit:/bin/mkdir -p /dev/shm
21 ::sysinit:/bin/mount -a
22 ::sysinit:/bin/hostname -F /etc/hostname
23 # now run any rc scripts
24 ::sysinit:/etc/init.d/rcS
25 # my startup scripts
26 ::sysinit:/test
27
28
29 # Put a getty on the serial port
30 console::respawn:/sbin/getty -L  console 0 vt100 # GENERIC_SERIAL
31
32 # Stuff to do for the 3-finger salute
33 #::ctrlaltdel:/sbin/reboot
34
35 # Stuff to do before rebooting
36 ::shutdown:/etc/init.d/rcK
37 ::shutdown:/sbin/swapoff -a
38 ::shutdown:/bin/umount -a -r