Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: emergency exit but no restart
10 min for the answer! It seems you're always active...
by the way thanks for thousands of hours of your work.....
> The runvdr script looks ok. Are you adding any further command line
> options when
> calling it (especially '-d')?
>
> Please make sure none of your patches messes up with the return level of
> the main program (in vdr.c). In case of an emergency exit it has to return
> 1.
> Here's how the end of vdr.c should look:
>
> if (cThread::EmergencyExit()) {
> esyslog("emergency exit!");
> return 1;
> }
> return 0;
runvdr is called from /etc/initab with
vdr:235:once:/usr/local/bin/runvdr --shutdown=/usr/local/bin/vdrshutdown --terminal=/dev/tty8 --config=/etc/vdr --epgfile=/var/vdr/epg.data
seems o.k. for me
in case of the patches, I don't know wich patch messes with return levels
I have:
REMOTE=LIRC DVD=1 MPLAYER=1 MP3=1 VFAT=1 CB=1 COLOR=1 FONT=SMALL TECH=1
but the end of the patched vdr.c looks like as you say with the only change of this
LOG_ERR. As far as I can see this does'nt affects the return level...
if (cThread::EmergencyExit()) {
esyslog(LOG_ERR, "emergency exit!");
return 1;
}
return 0;
Anything I can do to check this furthermore...?
helpless,
Uwe Weissbach
--
_ _
(o)--(o)
/.______.\
\________/
./ \.
( . , )
\ \_\\//_/ /
~~ ~~ ~~
(see it with monospaced font)
Uwe Weissbach, Leipzig
mail: uwe.weissbach@web.de
pgp: send mail with "pgp-request" in subject
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CC/IT d- s+:- a C++(+++) UL++> P
L+> E- W+++ N+ o-- K- w O- M !V-- PS+
PE+ Y+ PGP++ t+ 5@ X? R tv- b++(+++)
DI-? D---- G++ e* h---- r- y++
------END GEEK CODE BLOCK------
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index