Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: cdcopy command?
> On Mon, 13 May 2002 10:19:58 +0200
> "Florian Engelmann" <engelmann@etecs.de> wrote:
>
> > hi,
> > i want to use the vdr command menu to copy the *.avi divx movies from
> > CDrom to /video/divx. Here is my /usr/bin/cdcopy :
> > --------------- cdcopy ----------------------
> > #! /bin/sh
> > mount /cdrom
> > if [ -r /cdrom/*.avi ]; then
> > cp /cdrom/*.avi /video/divx/ >/dev/null
> > fi
> > if [ -r /cdrom/*.mpg ]; then
> > cp /cdrom/*.mpg /video/divx/ >/dev/null
> > fi
> > if [ -r /cdrom/*.mpeg ]; then
> > cp /cdrom/*.mpeg /video/divx/ >/dev/null
> > fi
> > umount /cdrom
> > eject /dev/hdc
> > ---------------------------------------------
> > and here my commands.conf
> >
> > Reload : echo "restarting vdr ..."; sleep 2; killall -9 vdr
> > Reboot : echo "REBOOTING..."; reboot
> > CDCOPY : echo "copy divx CDROM -> HDD"; /usr/bin/cdcopy &
> ^^^^^^
> Maybe this is
> the error
>
> I think vdr forks the command and put it in the background by itself.
> Try without the '&' ( is this symbol named: ampersand ?? ) and let me
> know if it works.
>
> Bye,
> Angelus.
>
>
oh - it looks like my vdr is crashing after mounting /cdrom ?! than runvdr
tries to rmmod the modules but they are locked - and after that vdr
restarts - but it is not able to control the dvb drivers ?! strange
thing....
Home |
Main Index |
Thread Index