Where should I put commands to start VDR at boot. Putting them in /etc/rc.boot is no good because lircd has not started yet. VDR needs to be the last thing to start at bootup.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Lauri Tischler schrieb:
Where should I put commands to start VDR at boot. Putting them in /etc/rc.boot is no good because lircd has not started yet. VDR needs to be the last thing to start at bootup.
I start it in inittab on console 1
::respawn:/usr/local/bin/runvdr
This works fine for me the last year...
Lauri Tischler schrieb:
Where should I put commands to start VDR at boot. Putting them in /etc/rc.boot is no good because lircd has not started yet. VDR needs to be the last thing to start at bootup.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
How about /etc/inittab? Or maybe you got /etc/conf.d/local (depends on your distro). Or write an initscript for vdr that is executed after the lird-initscript.
inittab approach: vdr:35:once:/usr/local/bin/runvdr
Sebastian schrieb:
Lauri Tischler schrieb:
Where should I put commands to start VDR at boot. Putting them in /etc/rc.boot is no good because lircd has not started yet. VDR needs to be the last thing to start at bootup.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
How about /etc/inittab? Or maybe you got /etc/conf.d/local (depends on your distro). Or write an initscript for vdr that is executed after the lird-initscript.
inittab approach: vdr:35:once:/usr/local/bin/runvdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
In case you use Gentoo drop me a mail if you like and I'll send you my initscripts.
Has anybody made opposite? I am looking for a method to get my vdr box suspended. (Either automatically or after couple of hours inactivity).
Mika
Sebastian wrote:
Sebastian schrieb:
Lauri Tischler schrieb:
Where should I put commands to start VDR at boot. Putting them in /etc/rc.boot is no good because lircd has not started yet. VDR needs to be the last thing to start at bootup.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
How about /etc/inittab? Or maybe you got /etc/conf.d/local (depends on your distro). Or write an initscript for vdr that is executed after the lird-initscript.
inittab approach: vdr:35:once:/usr/local/bin/runvdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
In case you use Gentoo drop me a mail if you like and I'll send you my initscripts.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
hi
lamikr writes:
Has anybody made opposite? I am looking for a method to get my vdr box suspended. (Either automatically or after couple of hours inactivity).
I use nvram wakeup for shutting down. The box then wakes up automatically for the next recording. The downside is that you need to patch vdradmin to get it work with this.
If you just want the box to shut down, use vdr command line options for a shutdown command.
For initscripts, I installed runit to speed up the boot. Then vdr is there as just one service.
yours, Jouni