VDR 1.4, 'cap_t' was not declared in this scope, was: VDR version 1.4.0 released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since vdr 1.3.47 also the Suse runvdr (i know it from Suse 9.2 up to the 
last 10.1RC2) didnt work anymore if a plugin has an "-" in the name like 
streamdev-server and streamdev-client.  Maybe someone fixed this prob 
already ?

Regards
Mike

Klaus Schmidinger schrieb:
>> 3. What about the runvdr script? It's fairly clear how it is supposed 
>> to work on Linux 2.4 systems, but what about 2.6 systems? There is no 
>> ../DVB/driver dir there...
>
> Ouch, I totally missed that one when converting everything to
> the new version.
>
> Since the runvdr script is just a suggestion on how to allow VDR
> to recover from a driver crash, I'll change it like the attached
> script. There the user can fill in the functions necessary to
> detect, load and unload the driver.
>
> Klaus
> ------------------------------------------------------------------------
>
> #!/bin/sh
>
> # runvdr: Loads the DVB driver and runs VDR
> #
> # If VDR exits abnormally, the driver will be reloaded
> # and VDR restarted.
> #
> # In order to actually use this script you need to implement
> # the functions DriverLoaded(), LoadDriver() and UnloadDriver()
> # and maybe adjust the VDRPRG and VDRCMD to your particular
> # requirements.
> #
> # Since this script loads the DVB driver, it must be started
> # as user 'root'. Add the option "-u username" to run VDR
> # under the given user name.
> #
> # Any command line parameters will be passed on to the
> # actual 'vdr' program.
> #
> # See the main source file 'vdr.c' for copyright information and
> # how to reach the author.
> #
> # $Id: runvdr 1.16 2006/02/04 15:20:48 kls Exp kls $
>
> VDRPRG="./vdr"
> VDRCMD="$VDRPRG -w 60 $*"
>
> LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
> KILL="/usr/bin/killall -q -TERM"
>
> # Detect whether the DVB driver is already loaded
> # and return 0 if it *is* loaded, 1 if not:
> function DriverLoaded()
> {
>   return 1
> }
>
> # Load all DVB driver modules needed for your hardware:
> function LoadDriver()
> {
> }
>
> # Unload all DVB driver modules loaded in LoadDriver():
> function UnloadDriver()
> {
> }
>
> # Load driver if it hasn't been loaded already:
> if ! DriverLoaded; then
>    LoadDriver
>    fi
>
> while (true) do
>       $VDRCMD
>       if test $? -eq 0 -o $? -eq 2; then exit; fi
>       echo "`date` reloading DVB driver"
>       $KILL $VDRPRG
>       sleep 10
>       UnloadDriver
>       LoadDriver
>       echo "`date` restarting VDR"
>       done
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> vdr mailing list
> vdr@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>   



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux