Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: feature request for 1.3
Excellent !!
i test your solution and it works very fine (echo .. | at now).
Thank you again.
With my config i only change the "sleep 1" with "sleep 3".
Guy
Christian Jacobsen a écrit :
>
> 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