cvs commit zz-disk_space
Mike Tremaine <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Added this patch to ignore cdrom disk full. [Probably should check other OS version of the same devices] [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.22 diff -r1.22 zz-disk_space 188c188 < if ($use > $diskfull_threshhold) --- > if (($use > $diskfull_threshhold) && ($fields[0] !~ /\/dev\/scd/ ) && ($fields[0] !~ /\/dev\/sr/ )) -Mike