|
[Help] Running an interactive (python) script in tty1 before login
Hello everyone,
I would like to run an interactive python script in tty1 on startup. This script requires user input outputs relevant data.
I also need this script to be run as root as it accesses USB devices (and has to detach kernel drivers).
It is an infinite-loop script, so I also want to be able to ctrl+alt+F to tty2 to actually login if needed.
If that's relevant, I'm using Ubuntu 10.04.
(I heard it is as it does not use inittabs)
Thanks in advance.
|