1 |
Author: zzam |
2 |
Date: 2008-04-19 10:58:13 +0000 (Sat, 19 Apr 2008) |
3 |
New Revision: 588 |
4 |
|
5 |
Modified: |
6 |
gentoo-vdr-scripts/trunk/ChangeLog |
7 |
gentoo-vdr-scripts/trunk/usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh |
8 |
Log: |
9 |
Print name of log-file in every case when errors are detected. |
10 |
|
11 |
Modified: gentoo-vdr-scripts/trunk/ChangeLog |
12 |
=================================================================== |
13 |
--- gentoo-vdr-scripts/trunk/ChangeLog 2008-04-19 08:42:36 UTC (rev 587) |
14 |
+++ gentoo-vdr-scripts/trunk/ChangeLog 2008-04-19 10:58:13 UTC (rev 588) |
15 |
@@ -2,6 +2,10 @@ |
16 |
# $Id$ |
17 |
|
18 |
19 Apr 2008; Matthias Schwarzott <zzam@g.o> |
19 |
+ usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh: |
20 |
+ Print name of log-file in every case when errors are detected. |
21 |
+ |
22 |
+ 19 Apr 2008; Matthias Schwarzott <zzam@g.o> |
23 |
etc/init.d/wakeup-reboot-halt: |
24 |
Make special option mark_for_reboot work with baselayout-1, Reported by |
25 |
gehlhajo, http://www.vdr-portal.de/board/thread.php?threadid=76283 |
26 |
|
27 |
Modified: gentoo-vdr-scripts/trunk/usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh |
28 |
=================================================================== |
29 |
--- gentoo-vdr-scripts/trunk/usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh 2008-04-19 08:42:36 UTC (rev 587) |
30 |
+++ gentoo-vdr-scripts/trunk/usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh 2008-04-19 10:58:13 UTC (rev 588) |
31 |
@@ -28,11 +28,14 @@ |
32 |
' \ |
33 |
| while read line; do |
34 |
count=$(($count+1)) |
35 |
+ if [ ${count} -eq 1 ]; then |
36 |
+ eerror " Errors from ${SYSLOG_FILE}:" |
37 |
+ fi |
38 |
+ eerror " $line" |
39 |
if [ "${count}" -gt 5 ]; then |
40 |
- eerror " More errors ... (see ${SYSLOG_FILE})" |
41 |
+ eerror " More errors ..." |
42 |
break |
43 |
fi |
44 |
- eerror " $line" |
45 |
done |
46 |
|
47 |
return 0 |
48 |
|
49 |
-- |
50 |
gentoo-commits@l.g.o mailing list |