Subject: fix default path on debian
Author: Olivier Sallou <olivier.sallou@irisa.fr>
Description: update path to be debian compliant, add description
Last-Updated: 2012-02-19
--- a/etc/init.d/gbrowse-slave
+++ b/etc/init.d/gbrowse-slave
@@ -1,11 +1,12 @@
 #!/bin/sh
 ### BEGIN INIT INFO
-# Provides:          gbrowse_slave
+# Provides:          gbrowse-slave
 # Required-Start:    $remote_fs $syslog
 # Required-Stop:     $remote_fs $syslog
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Start/Stop the gbrowse_slave rendering server.
+# Description: Enable the GBrowse slave rendering mode
 ### END INIT INFO
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
@@ -31,8 +32,8 @@ if [ "$*" != "" ]; then
     PORT=$*
 fi
 
-if [ -f $ETC/default/gbrowse-slave ]; then
-  . $ETC/default/gbrowse-slave
+if [ -f /etc/default/gbrowse-slave ]; then
+  . /etc/default/gbrowse-slave
 fi
 
 mkdir -p $RUNDIR
