Skip to content

Commit

Permalink
run console on raspberry pi
Browse files Browse the repository at this point in the history
  • Loading branch information
itsManjeet committed Aug 20, 2024
1 parent b652489 commit 19cac41
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions board/raspberrypi-0w/overlay/etc/inittab
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# /etc/inittab
#
#
# 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
::sysinit:/sbin/rc-init
::sysinit:/sbin/services start

1::respawn:/sbin/getty --noclear 38400 tty1
2::respawn:/sbin/getty 38400 tty2
3::respawn:/sbin/getty 38400 tty3

# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
::shutdown:/sbin/services stop
::shutdown:/sbin/rc-shutdown

0 comments on commit 19cac41

Please sign in to comment.