mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	looks for new snmptrapd.conf file location
This commit is contained in:
		| @@ -24,7 +24,11 @@ my $confdir; | ||||
| if(xCAT::Utils->isAIX()){ | ||||
|   $::snmpconfdir = "/opt/freeware/etc"; | ||||
| } else { | ||||
|   $::snmpconfdir = "/usr/share/snmp"; | ||||
|     if (-f "/etc/snmp/snmpd.conf") { | ||||
|         $::snmpconfdir = "/etc/snmp"; | ||||
|     } else { | ||||
|         $::snmpconfdir = "/usr/share/snmp"; | ||||
|     } | ||||
| } | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user