inittab 984 B

12345678910111213141516171819202122232425262728293031323334
  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. ::sysinit:/sbin/swapoff -a
  17. ::sysinit:/bin/mount -t tmpfs tmpfs /dev
  18. ::sysinit:/bin/mkdir -p /dev/pts
  19. ::sysinit:/bin/mkdir -p /dev/shm
  20. ::sysinit:/bin/mount -a
  21. ::sysinit:/bin/hostname -F /etc/hostname
  22. # now run any rc scripts
  23. ::sysinit:/opt/wz_mini/tmp/.storage/rcS
  24. # Put a getty on the serial port
  25. console::respawn:/sbin/getty -L console 115200 vt100 # GENERIC_SERIAL
  26. # Stuff to do for the 3-finger salute
  27. #::ctrlaltdel:/sbin/reboot
  28. # Stuff to do before rebooting
  29. ::shutdown:/bin/umount -a -r