b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/local/mib2c |
| 2 | +++ b/local/mib2c |
| 3 | @@ -61,8 +61,9 @@ $currentlevel = -1; |
| 4 | if($ENV{MIB2C_DIR}) { |
| 5 | push @def_search_dirs, split(/:/, $ENV{MIB2C_DIR}); |
| 6 | } |
| 7 | -push @def_search_dirs, "/usr/local/share/snmp/"; |
| 8 | -push @def_search_dirs, "/usr/local/share/snmp/mib2c-data"; |
| 9 | +push @def_search_dirs, "/etc/snmp/"; |
| 10 | +push @def_search_dirs, "/usr/share/snmp/"; |
| 11 | +push @def_search_dirs, "/usr/share/snmp/mib2c-data"; |
| 12 | push @def_search_dirs, "./mib2c-conf.d"; |
| 13 | |
| 14 | sub usage { |