vdr/vdr/debian vdr.init
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Mon, 26 Apr 2004 17:38:53 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv13109/vdr/vdr/debian
Modified Files:
vdr.init
Log Message:
cosmetic changes
Index: vdr.init
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.init,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- vdr.init 25 Apr 2004 18:47:16 -0000 1.10
+++ vdr.init 26 Apr 2004 17:38:51 -0000 1.11
@@ -5,7 +5,7 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
NAME=vdr
-DESC="vdr - Linux Video Disk Recorder"
+DESC="Linux Video Disk Recorder"
# Defaults - don't touch, edit /etc/default/vdr
@@ -43,7 +43,7 @@
local arguments
- echo -n "Seeking plugins: "
+ echo -ne "\nSearching for plugins:"
# find installed plugins
installed_plugins=( `find $PLUGIN_DIR -maxdepth 1 -name "$PLUGIN_PREFIX*.so.$VERSION" -printf "%f " | sed "s/$PLUGIN_PREFIX\([^\.]\+\)\.so\.$VERSION/\1/g"` )
@@ -70,14 +70,14 @@
# add the command line arguments for each plugin
for plugin in ${ordered_plugins[@]}; do
- echo -n "$plugin "
+ echo -n " $plugin"
PLUGINS="$PLUGINS -P $plugin"
if [ -r "$PLUGIN_CFG_DIR/plugin.$plugin.conf" ] ; then
arguments=( `cat $PLUGIN_CFG_DIR/plugin.$plugin.conf | sed "s/#.*$//"` )
PLUGINS="$PLUGINS ${arguments[*]}\""
fi
done
- echo
+ #echo
}
case "$1" in
@@ -88,12 +88,12 @@
echo "."
;;
stop)
- echo -n "Stopping $DESC: $NAME "
+ echo -n "Stopping $DESC: $NAME"
stopvdr
echo "."
;;
restart|force-reload)
- echo -n "Restarting $DESC: $NAME "
+ echo -n "Restarting $DESC: $NAME"
stopvdr
sleep 4
getplugins