Hack 79. Starting TiVoWeb with TiVo

   

Hack 79 Starting TiVoWeb with TiVo

figs/moderate.gif figs/hack79.gif

You certainly don't want to have to start TiVoWeb from the command line every time you reboot your TiVo. Instead, have it start up when TiVo boots .

Getting the TiVoWeb server to start automatically when you boot your TiVo itself is just a matter of adding the right invocation to the initialization system.

You'll need command-line access to your TiVo Section 3.3. Once you're logged in, be sure that the root partition is mounted read/write:

  mount -o remount,rw /  

Next, you'll simply append the same command used to start TiVoWeb [Hack #65] manually to the startup script, /etc/rc.d/rc.sysinit , like so:

  echo "/var/hack/tivoweb-tcl/tivoweb"  cat /etc/rc.d/rc.sysinit  

To commit your changes, remount the filesystem as read-only:

  mount -o remount,ro /  

Reboot your TiVo. After you get past the Almost there startup screen, TiVoWeb should be up and running and accessible through your web browser.


   
Top


Tivo Hacks. 100 Industrial-strength Tips Tools 2003
Tivo Hacks. 100 Industrial-strength Tips Tools 2003
ISBN: 1597490318
EAN: N/A
Year: 2004
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net