12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # /etc/inittab
- #
- # Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
- #
- # Note: BusyBox init doesn't support runlevels. The runlevels field is
- # completely ignored by BusyBox init. If you want runlevels, use
- # sysvinit.
- #
- # Format for each entry: <id>:<runlevels>:<action>:<process>
- #
- # id == tty to run on, or empty for /dev/console
- # runlevels == ignored
- # action == one of sysinit, respawn, askfirst, wait, and once
- # process == program to run
- # Startup the system
- null::sysinit:/bin/mount -t proc proc /proc
- null::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
- null::sysinit:/bin/mkdir -p /dev/pts
- null::sysinit:/bin/mkdir -p /dev/shm
- null::sysinit:/bin/mount -a
- null::sysinit:/bin/hostname -F /etc/hostname
- # now run any rc scripts
- ::sysinit:/etc/init.d/rcS
- # Put a getty on the serial port
- ttyO0::respawn:/sbin/getty -L ttyO0 115200 linux # GENERIC_SERIAL
- #tty1::respawn:/root/startapp.sh
- tty2::respawn:/sbin/getty -L tty2 115200 linux
- tty3::respawn:/sbin/getty -L tty3 115200 linux
- #tty4::respawn:/opt/WGET_di-soric_001/bin/WGET_di-soric_001
- #tty5::respawn:/opt/MAIN_di-soric_001/bin/MAIN_di-soric_001
- #tty6::respawn:/root/startbrowser.sh
- #tty8::respawn:/var/GfA/Display_GSM
- # Stuff to do for the 3-finger salute
- ::ctrlaltdel:/sbin/reboot
- # Stuff to do before rebooting
- null::shutdown:/etc/init.d/rcK
- null::shutdown:/bin/umount -a -r
- null::shutdown:/sbin/swapoff -a
|