Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. ---- Alpine Extended 3.7
  2.  
  3. # /etc/inittab
  4.  
  5. ::sysinit:/sbin/openrc sysinit
  6. ::sysinit:/sbin/openrc boot
  7. ::wait:/sbin/openrc default
  8.  
  9. # Set up a couple of getty's
  10. tty1::respawn:/sbin/getty 38400 tty1
  11. tty2::respawn:/sbin/getty 38400 tty2
  12. tty3::respawn:/sbin/getty 38400 tty3
  13. tty4::respawn:/sbin/getty 38400 tty4
  14. tty5::respawn:/sbin/getty 38400 tty5
  15. tty6::respawn:/sbin/getty 38400 tty6
  16.  
  17. # Put a getty on the serial port
  18. #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
  19.  
  20. # Stuff to do for the 3-finger salute
  21. ::ctrlaltdel:/sbin/reboot
  22.  
  23. # Stuff to do before rebooting
  24. ::shutdown:/sbin/openrc shutdown
  25.  
  26.  
  27. ---- Alpine VM 3.7
  28.  
  29. # /etc/inittab
  30.  
  31. ::sysinit:/sbin/openrc sysinit
  32. ::sysinit:/sbin/openrc boot
  33. ::wait:/sbin/openrc default
  34.  
  35. # Set up a couple of getty's
  36. tty1::respawn:/sbin/getty 38400 tty1
  37. tty2::respawn:/sbin/getty 38400 tty2
  38. tty3::respawn:/sbin/getty 38400 tty3
  39. tty4::respawn:/sbin/getty 38400 tty4
  40. tty5::respawn:/sbin/getty 38400 tty5
  41. tty6::respawn:/sbin/getty 38400 tty6
  42.  
  43. # Put a getty on the serial port
  44. #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
  45.  
  46. # Stuff to do for the 3-finger salute
  47. ::ctrlaltdel:/sbin/reboot
  48.  
  49. # Stuff to do before rebooting
  50. ::shutdown:/sbin/openrc shutdown
  51.  
  52. # enable login on alternative console
  53. ttyS0::respawn:/sbin/getty -L 115200 ttyS0 vt100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement