packages/net/net-snmp/patches/120-debian-searchdirs.patch
nbd 3f60382991 move net-snmp from libs/ to net/
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-14 22:12:25 +00:00

15 lines
459 B
Diff

--- a/local/mib2c
+++ b/local/mib2c
@@ -60,8 +60,9 @@ $currentlevel = -1;
if($ENV{MIB2C_DIR}) {
push @def_search_dirs, split(/:/, $ENV{MIB2C_DIR});
}
-push @def_search_dirs, "/usr/local/share/snmp/";
-push @def_search_dirs, "/usr/local/share/snmp/mib2c-data";
+push @def_search_dirs, "/etc/snmp/";
+push @def_search_dirs, "/usr/share/snmp/";
+push @def_search_dirs, "/usr/share/snmp/mib2c-data";
push @def_search_dirs, "./mib2c-conf.d";
sub usage {