From e42bd847fc96c103b7e2d958b77339a6ae4cf310 Mon Sep 17 00:00:00 2001
From: Tom Culliton <culliton@x2.(none)>
Date: Fri, 27 Feb 2009 23:13:14 -0500
Subject: Attempt to make this more correct for an Arch system using runit.

---
 abs/core-testing/local-website/htdocs/index.html | 64 +++++++-----------------
 1 file changed, 17 insertions(+), 47 deletions(-)

diff --git a/abs/core-testing/local-website/htdocs/index.html b/abs/core-testing/local-website/htdocs/index.html
index c5ae009..661f673 100644
--- a/abs/core-testing/local-website/htdocs/index.html
+++ b/abs/core-testing/local-website/htdocs/index.html
@@ -1,39 +1,22 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
-
-  
   <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
-
-  
   <meta content="Cecil Watson" name="author">
-
-  
- 
-  
   <title>LinHES R6</title>
   <link href="KnoppMyth.css" rel="stylesheet" type="text/css">
 </head>
-
-
 <body>
 <p align="center"><a href="http://www.mysettopbox.tv">
       <img src="header.png" alt="Tux with a Remote" align="middle" border="0"></a>
   </p>
-
-	
-  
 <table align="center" border="0" cellpadding="5">
 
     <tbody>
-
       <tr>
-
 	<td style="vertical-align: top;">
-	  
       <p class="headerimage" align="center"><b>The Linux Home Entertainment System Release 6</b></p>
 
-	  
       <p><a href="mythweb/mythweb.php"><b>MythWeb</b></a>: <br>
 
 		&nbsp; &nbsp; The MythWeb allows you to use a web page to control
@@ -41,7 +24,6 @@
 		but it is dependent upon MythTV being installed and operational."
 	  </p>
 
-	  
       <p><a href="remote/index.html"><b>MythTV Web Virtual Remote</b></a>: <br>
 
 		&nbsp; &nbsp; A web based virtual remote control for MythTV.
@@ -50,38 +32,32 @@
 		<b>Utilities/Setup -&gt; Setup -&gt; General -&gt; Fourth Page</b>.
 	  </p>
 
-	  
       <p><a href="mythtv-doc/mythtv-HOWTO.html"><b>MythTV Documentation</b></a>: <br>
 
 		&nbsp; &nbsp; The MythTV Installation / User's Guide.
 	  </p>
 
-	  
       <p><a href="mythtv-doc/keys.txt"><b>MythTV Keybindings</b></a>: <br>
 
 		&nbsp; &nbsp; The keybindings for the normal MythTV interface.
 	  </p>
 
-	  
       <p><a href="linhes.html"><b>LinHES</b></a>: <br>
 
 		&nbsp; &nbsp; Describes how "The Project Leader" setup multiple systems
 		to form a <b>Lin</b>ux <b>H</b>ome <b>E</b>ntertainment <b>S</b>ystem.
 	  </p>
 
-	  
       <p><a href="folding@home/"><b>My Folding Status</b></a>: <br>
 
 		&nbsp; &nbsp; Status of the folding@home work for the local user.
 	  </p>
 
-	  
       <p><a href="http://fah-web.stanford.edu/cgi-bin/main.py?qtype=teampage&amp;teamnum=50975"><b>Folding@home</b></a>: <br>
 
 		&nbsp; &nbsp; KnoppMyth Team status for the folding@home effort.
 	  </p>
 
-	  
       <p><a href="ipodfeed/"><b>iPod Feeds</b></a> <br>
 
 		&nbsp; &nbsp; Transcodes ready for the ipod (if any).</p>
@@ -91,44 +67,42 @@
 &nbsp;&nbsp;&nbsp; FUPPES - Free UPnP Entertainment Service. &nbsp;A
 UPnP to be used inplace of the UPnP server that comes with MythTV.
 &nbsp;If the UPnP that comes with MythTV doesn't work for you, you can
-try FUPPES. &nbsp;Edit /etc/init.d/mythtv-backend, comment
-EXTRA_ARGS="" and uncomment #EXTRA_ARGS="--noupnp". &nbsp;Then restart
-the backend and start FUPPES.</p>
-      <p style="font-weight: bold;">/etc/init.d/mythtv-backend restart<br>
-/etc/init.d/fuppes start</p>
-      <p>If you want FUPPES to start on boot:</p>
-      <p><b>update-rc.d fuppes defaults 80</b></p>
+try FUPPES. &nbsp;Edit <i>/etc/sv/mythtvbackend/run</i>, and add "<i>--noupnp</i>"
+to the command line for <i>/usr/bin/mythbackend</i>. &nbsp;Then restart the
+backend and start FUPPES.</p>
+      <p style="font-weight: bold;">sv restart mythtvbackend fuppes</p>
+      <p>If you want FUPPES to start on boot add a link to the
+      <i>/etc/sv/fuppes</i> directory under <i>/var/service</i>.</p>
+      <p><b>ln -s /etc/sv/fuppes /var/service</b></p>
       <p></p>
 
-	  
       <p><a href="motion/index.html"><b>Motion</b></a>: <br>
 
-		&nbsp; &nbsp; Motion is a software motion detector. The configuration file for 
+		&nbsp; &nbsp; Motion is a software motion detector. The configuration file for
 		motion is <i>/etc/motion/motion.conf</i>. All you should have to do is edit
 		"videodevice" to point to your webcam or capture device. You'll also
 		need to change the IP in <i>/var/www/motion/index.html</i> to the IP of your
 		backend.
-		<br>
+		<br><br>
+
+		&nbsp; &nbsp; As root: <b>sv start motion</b> will start motion.
+		To have it start automatically add a link to the
+                <i>/etc/sv/motion</i> directory under <i>/var/service</i>.</p>
+                <p><b>ln -s /etc/sv/motion /var/service</b></p>
+		<p>Images and video are stored in <i>/myth/motion</i>.
+		Symlinks to <i>/myth/gallery</i> and <i>/myth/video</i> exist.
+                <br><br>
 
 		For further detail on configuring Motion, please read the
 		<a href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuide">Motion Guide</a>.
-		<br>
 
-		&nbsp; &nbsp; As root: <b>/etc/init.d/motion start</b> will start motion.
-		To have it start automatically, <b>update-rc.d motion defaults 80</b>.
-		Images and video are stored in <i>/myth/motion</i>.
-		Symlinks to <i>/myth/gallery</i> and <i>/myth/video</i> exist. <br>
-
-		&nbsp; &nbsp; Hover on the left side of the video feed in your web browser.
 	  </p>
 
-	  
       <p><a href="rrd/index.html"><b>RRDTool</b></a>: <br>
 
 		&nbsp; &nbsp; Hardware status graphs.
 	  </p>
 
-	  
       <p><a href="vlc_control.php"><b>VLC HTTP Interface</b></a>: <br>
 
 		&nbsp; &nbsp; Web interface for VideoLan Client.
@@ -143,16 +117,12 @@ the backend and start FUPPES.</p>
       <p><a href="javascript:void(0)"onclick="window.open('mythweb/data/mp3player.html','linkname','height=100, width=260,scrollbars=no')"><b>KnoppMyth Radio</b></a>: <br>
 
                 &nbsp; &nbsp; Your music must be encoded as MP3 in MythMusic for this to work.</p>
-	  
         </td>
-
       </tr>
-
     <tr>
       <td style="vertical-align: top;"></td>
     </tr>
   </tbody>
-  
 </table>
 
 </body>
-- 
cgit v0.12