/etc/inittab

From Gen4Wiki

(Redirected from Etc/inittab)
Jump to: navigation, search

This file contains information about how the linux should set up the booting system

# 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

only the active parts are listed below:

# Startup the system
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -a
# now run any rc scripts
::sysinit:/etc/init.d/rcS
# Start and monitor AVOS
ttyS0::once:/usr/bin/avos_helper.sh

This is most interesting. It seems like the avos-blob-do-it-all binary is started with the output and input(?) bound to a serial port. This port is probably accessible somewhere on the PCB and could be accessed using a level converter (like used to access the serial consoles of the older Archos devices).

# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
null::shutdown:/bin/umount -a -r -l
null::shutdown:/sbin/swapoff -a
Personal tools
Google ads