inittab 380 B

12345678910111213141516
  1. ::sysinit:/etc/init.d/rcS
  2. #! /bin/ash
  3. #
  4. # Start an "askfirst" shell on the serial port
  5. #console::askfirst:-/bin/ash
  6. #ttyS0::respawn:-/bin/ash
  7. ttyS0::respawn:-/sbin/getty -L ttyS0 115200 vt102
  8. # Stuff to do when restarting the init process
  9. ::restart:/sbin/init
  10. # Stuff to do before rebooting
  11. #::ctrlaltdel:/sbin/reboot
  12. ::shutdown:/bin/umount -a -r
  13. ::shutdown:/sbin/swapoff -a