vdr/vdr/debian S90.custom vdr-shutdown README.Debian changelog vdr.default vdr.install vdr.links

Tobias Grimm pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 29 May 2004 23:49:24 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv19613/debian

Modified Files:
	README.Debian changelog vdr.default vdr.install vdr.links 
Added Files:
	S90.custom vdr-shutdown 
Log Message:
prepared the shutdwon hook handling - the rest will follow soon

Index: README.Debian
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/README.Debian,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- README.Debian	23 May 2004 17:16:01 -0000	1.5
+++ README.Debian	29 May 2004 23:48:22 -0000	1.6
@@ -108,3 +108,11 @@
 to /etc/vdr/recording-hooks/R90.custom.
 
  -- Tobias Grimm <tg@e-tobi.net>,  Sun, 23 May 2004 19:00:00 +0100
+
+
+Shutdown-Hooks
+---------------
+
+TODO !!!
+
+ -- Tobias Grimm <tg@e-tobi.net>,  Sun, 23 May 2004 19:00:00 +0100

Index: vdr.links
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.links,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- vdr.links	9 May 2004 16:24:19 -0000	1.4
+++ vdr.links	29 May 2004 23:48:22 -0000	1.5
@@ -9,3 +9,6 @@
 etc/vdr/keymacros.conf var/lib/vdr/keymacros.conf
 etc/vdr/sources.conf var/lib/vdr/sources.conf
 etc/vdr/svdrphosts.conf var/lib/vdr/svdrphosts.conf
+
+/etc/vdr/recording-hooks/R90.custom /usr/share/vdr/recording-hooks
+/etc/vdr/shutdown-hooks/S90.custom /usr/share/vdr/shutdown-hooks

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/changelog,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- changelog	29 May 2004 18:00:51 -0000	1.26
+++ changelog	29 May 2004 23:48:22 -0000	1.27
@@ -39,6 +39,7 @@
       (see README.Debian)
     - added recording hooks as used in c't vdr (see README.Debian)
     - added cmd_submenus patch with improvements by Thomas Günther
+    - added shutdown hooks as used in c't vdr (see README.Debian)
 
  -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>  Sat, 24 Apr 2004 12:04:41 +0200
 

Index: vdr.default
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.default,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- vdr.default	23 May 2004 17:16:01 -0000	1.7
+++ vdr.default	29 May 2004 23:48:22 -0000	1.8
@@ -30,6 +30,9 @@
 # Commmand executed on start, stop and editing of a recording
 REC_CMD=/usr/bin/vdr-recordingaction
 
+# Commmand executed by vdr to shutdown the system
+SHUTDOWN_CMD=/usr/bin/vdr-shutdown
+
 # Options that will be passed to vdr's commandline
 # for example: OPTIONS="-w 15 --port=0"
-OPTIONS="-r $REC_CMD -w 30"
+OPTIONS="-r $REC_CMD -s $SHUTDOWN_CMD -w 30"

Index: vdr.install
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.install,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- vdr.install	29 May 2004 18:00:51 -0000	1.5
+++ vdr.install	29 May 2004 23:48:22 -0000	1.6
@@ -22,3 +22,6 @@
 
 debian/vdr-recordingaction /usr/bin/
 debian/R90.custom          /etc/vdr/recording-hooks/
+
+debian/vdr-shutdown /usr/bin/
+debian/S90.custom          /etc/vdr/shutdown-hooks/

--- NEW FILE: vdr-shutdown ---
#!/bin/sh

SHUTDOWN_HOOKS_DIR=/usr/share/vdr/shutdown-hooks

# TODO - Be patient... will come soon

--- NEW FILE: S90.custom ---
#!/bin/sh
#
# Custom VDR Shutdown Hook
# -------------------------
#

# TODO