FreeBSD Bugzilla – Attachment 159074 Details for
Bug 201767
[patch] net-mgmt/nagios-check_smartmon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for file/patch-check_smartmon
patch-check_smartmon (text/plain), 1.21 KB, created by
Dan Langille
on 2015-07-22 17:44:39 UTC
(
hide
)
Description:
patch for file/patch-check_smartmon
Filename:
MIME Type:
Creator:
Dan Langille
Created:
2015-07-22 17:44:39 UTC
Size:
1.21 KB
patch
obsolete
>--- check_smartmon.orig 2015-07-22 17:32:58 UTC >+++ check_smartmon >@@ -59,7 +59,7 @@ def parseCmdLine(args): > metavar="LEVEL", help="set verbosity level to LEVEL; defaults to 0 (quiet), \ > possible values go up to 3") > parser.add_option("-t", "--type", action="store", dest="devtype", default="ata", metavar="DEVTYPE", >- help="type of device (ATA|SCSI)") >+ help="type of device (ata|scsi)") > parser.add_option("-w", "--warning-threshold", metavar="TEMP", action="store", > type="int", dest="warningThreshold", default=55, > help="set temperature warning threshold to given temperature (defaults to 55)") >@@ -291,10 +291,10 @@ if __name__ == "__main__": > vprint(2, "Get device type") > devtype = options.devtype > if not devtype: >- devtype = "ATA" >- >- if device_re.search( device ): >- devtype = "scsi" >+ if device_re.search( device ): >+ devtype = "scsi" >+ else: >+ devtype = "ata" > > vprint(1, "Device type: %s" % devtype) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201767
: 159074