Re: logwatch 7.3.4 on opensolaris nevada

Mike Tremaine <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
attila csaba marosi wrote:
> Hello,
> 
> I've just installed logwatch on an opensolaris nevada box, and found that 2
> scripts (zz-disk_usage and zz-network) have "support" for solaris 5.9, 
> 5.10 but not
> for 5.11. I modified the scripts to work on opensolaris as expected, and 
> created
> this little diff, hope you can use it.
> 
> Regards,
> Attila
> 


Is it already 5.11 time ;).. I committed these to CVS.

[mgt@dwarfstar services]$ cvs diff zz-disk_space
Index: zz-disk_space
===================================================================
RCS file: /var/cvs/logwatch/scripts/services/zz-disk_space,v
retrieving revision 1.18
diff -r1.18 zz-disk_space
43c43
<               if ( ($release eq "5.10") || ($release eq "5.9") ) {
---
 >               if ( ($release eq "5.10") || ($release eq "5.9") || 
($release eq "5.11") ) {
125c125
<               if ( ($release eq "5.10") || ($release eq "5.9") ) {
---
 >               if ( ($release eq "5.10") || ($release eq "5.9") || 
($release eq "5.11") ) {
[mgt@dwarfstar services]$ cvs diff zz-network
Index: zz-network
===================================================================
RCS file: /var/cvs/logwatch/scripts/services/zz-network,v
retrieving revision 1.3
diff -r1.3 zz-network
88c88
<         if ($release eq "5.10") {
---
 >         if ( ($release eq "5.10") || ($release eq "5.11") ) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.