inittab 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. # Startup the system
  16. null::sysinit:/bin/mount -t proc proc /proc
  17. null::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
  18. null::sysinit:/bin/mkdir -p /dev/pts
  19. null::sysinit:/bin/mkdir -p /dev/shm
  20. null::sysinit:/bin/mount -a
  21. null::sysinit:/bin/hostname -F /etc/hostname
  22. # now run any rc scripts
  23. ::sysinit:/etc/init.d/rcS
  24. # Put a getty on the serial port
  25. ttyO0::respawn:/sbin/getty -L ttyO0 115200 linux # GENERIC_SERIAL
  26. #tty1::respawn:/root/startapp.sh
  27. tty2::respawn:/sbin/getty -L tty2 115200 linux
  28. tty3::respawn:/sbin/getty -L tty3 115200 linux
  29. #tty4::respawn:/opt/WGET_di-soric_001/bin/WGET_di-soric_001
  30. #tty5::respawn:/opt/MAIN_di-soric_001/bin/MAIN_di-soric_001
  31. #tty6::respawn:/root/startbrowser.sh
  32. #tty8::respawn:/var/GfA/Display_GSM
  33. # Stuff to do for the 3-finger salute
  34. ::ctrlaltdel:/sbin/reboot
  35. # Stuff to do before rebooting
  36. null::shutdown:/etc/init.d/rcK
  37. null::shutdown:/bin/umount -a -r
  38. null::shutdown:/sbin/swapoff -a