----------------------------------------------------------------------------------
Modules:
All hacks should be distributed in modules for ease of use. Most of the
essential modules have already been created by various people. Please feel
free to do any on your own.
To create a module, here are some basic instructions. Please feel free to
look at the other modules to see how they were done:
1. mkdir foo
2. cd foo
3. Create your directory structure like you would on the tivo with the
root of foo being the root of the tivo
4. Once you get all the files in place where they go on the tivo (please
keep all hacks off of /var unless they are non-essential files and your
hack will automatically recreate the files if they go away).
type:
find . | cpio -ov -Hcrc > ../hackname.cpio
from the foo directory
5. cd ..
6. gzip hackname.cpio
7. Now you can distribute the module
8. To install the module:
Put the module in the root directory on the tivo
gzip -d hackname.cpio.gz
cpio -idmu < ./hackname.cpio
This will force overwrite any file currently on the tivo.
9. Most modules have a script that performs the install and performs
other tasks like adding startup commands to rc.remote-login
Information wants to be free....