Okay, Hijack v303 is out.

New in v303/v302 are the following:

-- support for the new "PrevVisual" buttoncode from the recent Bug-Blat, and a new VisualSeek function which can be mapped to a real Rio Remote button as follows:

[ir_translate]
Visual.L=Visual.L
Visual=VisualSeek


Once the v2 final software is released, everyone will be able to use this new buttoncode. But the ir_trans stuff above will work NOW, but only for Next-Visual..

-- support for "exec=" and "exec_once=" software start-up directives in the [hijack] section of config.ini. These can be used to start third-party app's on boot at player startup ("exec_once="), and on ANY player startup ("exec=").

Syntax is something like this:

[hijack]
exec_once=/bin/imaginaryapp ghouls=5 pills=77 "quoted strings work too\n"
exec=dd if=/proc/sys/kernel/panic of=/proc/sys/kernel/ctrl-alt-del


Note that the latter example above is the one I used to test this functionality.. it should result in a "0" in /proc/sys/kernel/ctrl-alt-del afterwards (try it!).

If a command returns a non-zero exit status, this is noted on the serial console (but nowhere else currently).

Hopefully this will make software installation somewhat simpler. I will eventually include support for adding programs to menus with a similar mechanism.

Cheers


Edited by mlord (24/01/2003 16:52)