[Help] Running an interactive (python) script in tty1 before login
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.
Ubuntu uses upstart. Google upstart inittab. You can run any program in lieu of getty or agetty or whatever it spawns on open ttys. If you want to pop a new console on the fly you can run `openvt /sbin/getty 57600 - linux`
|All times are GMT -5. The time now is 07:28 AM.|