tazpanel diff index.cgi @ rev 513
tazpanel: external reports support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 29 16:34:16 2015 +0200 (2015-07-29) |
parents | 0e464ccf165e |
children | fa86b93d5e89 |
line diff
1.1 --- a/index.cgi Sun Jul 12 16:19:16 2015 +0200 1.2 +++ b/index.cgi Wed Jul 29 16:34:16 2015 +0200 1.3 @@ -592,6 +592,15 @@ 1.4 <h2>$(_ 'Boot scripts')</h2> 1.5 <pre>$(filter_taztools_msgs < /var/log/boot.log)</pre> 1.6 EOT 1.7 + if [ "$(ls report.d/* 2> /dev/null)" ]; then 1.8 + cat <<EOT 1.9 + $(ok_status_t) 1.10 + <tr><td>$(_ 'Getting extra reports...')</td> 1.11 +EOT 1.12 + for i in report.d/* ; do 1.13 + sh $i $i >> $output 1.14 + done 1.15 + fi 1.16 cat <<EOT 1.17 $(ok_status_t) 1.18 <tr><td>$(_ 'Creating report footer...')</td>