120-debian-searchdirs.patch 459 B

1234567891011121314
  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. sub usage {