vdr : debian/remotes-loader.sh goal ?

Nicolas Huillard nhuillard at e-dition.fr
Wed Oct 12 21:36:57 UTC 2005


Hello,

I wonder what goal serves that script, which split/merge the remote.conf 
file into a file for each remote.
Using softdevice, which introduces another "softdevice-dfb" remote (and 
plausibly others for other output methods), I have a problem with the 
debian/remotes-loader.sh script, which erases the newly created remote 
config.

I introduced a new config variable in debian/vdr.default :

# Change this to 1 if you do not want init script to manage remote.conf
# files. Useful for softdevice remote (softdevice-dfb), which is not
# cleanly managed by the init scripts.
NO_MOD_REMOTES=1

...and used that variable in debian/remotes-loader.sh :

     if [ "$NO_MOD_REMOTES" != 1 ]; then

Maybe the right way would be to split the remote.conf file on each and 
every remote present in the file, and merge back all remote.*.conf 
files, but I can't judge the opportunity of this, because I don't fully 
understand the need of all this (except the beauty of having one 
independent file per remote).

-- 
NH



More information about the pkg-vdr-dvb-devel mailing list