Proyecto movido a GitHub
Miér 7 Abr 2021 - 19:23 por bittor
Proyecto movido a GitHub:
https://github.com/bittor7x0/VDR-M7x0
Con muchos cambios y correcciones, Más información
También incluye el plugin epgfixer para corregir la EPG usando expresiones regulares y el plugin xmltv2vdr para descargar la EPG de internet
https://github.com/bittor7x0/VDR-M7x0
Con muchos cambios y correcciones, Más información
También incluye el plugin epgfixer para corregir la EPG usando expresiones regulares y el plugin xmltv2vdr para descargar la EPG de internet
Comentarios: 0
Buscar
integrate a script C to vdr-ng
2 participantes
Página 1 de 1.
integrate a script C to vdr-ng
Hello,
i would intented to start every minute by crond, a script that tests the contents of timers.conf.
when a timer is going to be active an arbitary command (in my case ether-wake) is executed some minutes before to power on my files server.
Where do i place this script C, in the directories of svn, for compile it with vdr-ng ?
http://home.pages.at/linux/vdron.tar.gz
i would intented to start every minute by crond, a script that tests the contents of timers.conf.
when a timer is going to be active an arbitary command (in my case ether-wake) is executed some minutes before to power on my files server.
Where do i place this script C, in the directories of svn, for compile it with vdr-ng ?
http://home.pages.at/linux/vdron.tar.gz
- Código:
Usage: %s <min> <timers.conf> <command>
joopa- Cantidad de envíos : 14
Fecha de inscripción : 02/09/2009
Edad : 55
Localización : France
Re: integrate a script C to vdr-ng
Hi,
You can copy vdron.c to:
VDR-NG-FW/buildin/tool-box-extra
Edit Makefile in that dir adding "vdron" to "PRGS":
Run in VDR-NG-FW dir:
Now you have a firmware with vdron binary included in it.
You can copy vdron.c to:
VDR-NG-FW/buildin/tool-box-extra
Edit Makefile in that dir adding "vdron" to "PRGS":
- Código:
PRGS := genindex io-test vdron
- Código:
vdron_OBJS := vdron.o
vdron_LDADD :=
Run in VDR-NG-FW dir:
- Código:
make distclean-tool-box-extra
make
Now you have a firmware with vdron binary included in it.
Re: integrate a script C to vdr-ng
thank you very much bittor, thank you very much, I'd return soon
joopa- Cantidad de envíos : 14
Fecha de inscripción : 02/09/2009
Edad : 55
Localización : France
Re: integrate a script C to vdr-ng
i have compiled the firmware with vdron. ok->no error.
but i don't find the binary on the vdr.
normaly /sbin ?
but i don't find the binary on the vdr.
normaly /sbin ?
joopa- Cantidad de envíos : 14
Fecha de inscripción : 02/09/2009
Edad : 55
Localización : France
Re: integrate a script C to vdr-ng
If you want add it to firmware, you have that edit VDR-NG-FW/rootfs-file-lists/tool-box-extra.lst and add:
The path for this program in firmware is /usr/bin/vdron.
- Código:
usr/bin/vdron usr/bin/vdron f 755 0 0 - - - - -
usr/bin/vdron - s - - - - - - - -
The path for this program in firmware is /usr/bin/vdron.
Re: integrate a script C to vdr-ng
bittor,
I integrate it in the firmware at the next compilation, because with VDR-NG-FW/build/tool-box-extra/vdron , i've tested it and i'm very happy for the result.
-> if there is a scheduled record (between 0 and 3 minutes), the script power on my server, and after a timer (boot time), i mount the nfs share.
Now, i thought for the umount and stop the server when there isn't current record.
But i think, the hardest part is passed.
Many thanks for your help, i will explain it in the post inicio un servidor de archivos (WOL) antes del comienzo de una grabación
Beautiful day for the planet, and for me !
I integrate it in the firmware at the next compilation, because with VDR-NG-FW/build/tool-box-extra/vdron , i've tested it and i'm very happy for the result.
-> if there is a scheduled record (between 0 and 3 minutes), the script power on my server, and after a timer (boot time), i mount the nfs share.
Now, i thought for the umount and stop the server when there isn't current record.
But i think, the hardest part is passed.
Many thanks for your help, i will explain it in the post inicio un servidor de archivos (WOL) antes del comienzo de una grabación
Beautiful day for the planet, and for me !
joopa- Cantidad de envíos : 14
Fecha de inscripción : 02/09/2009
Edad : 55
Localización : France
Temas similares
» script compilación
» Script ejecutable para automatizar la compilación.
» GUI script generacion de firmware
» No consigo compilar con el script Gui
» Script de compilación de VDR-NG-EM para GNU/Linux
» Script ejecutable para automatizar la compilación.
» GUI script generacion de firmware
» No consigo compilar con el script Gui
» Script de compilación de VDR-NG-EM para GNU/Linux
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.