Mailing List archive

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

[vdr] Re: feature request for 1.3



Hallo,

>Yes i understand, thank you very much.
>But how can i manage the restarting (-TERM) of vdr with 
>a script launched from command.conf ?

There are lots of different ways to do it, just a quick example that comes
in to mind (not tested). Actually the Important thing is not to start it
as a son of vdr therefore "at" is used.

commands.conf :
echo /usr/local/bin/restartvdr | at now

("echo | at" is nice if you want to use switches for the command)


Script /usr/local/bin/restartvdr :
kill -TERM vdr
sleep 1
# If you want to restart DVB Driver to then uncomment this :
# cd /path/to/DVB
# make rmmod
# make insmod
/path/to/runvdr &

Please start runvdr as you normally do !

Christian Jacobsen



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index