Blame SOURCES/net-snmp-5.5-dir-fix.patch

8a419f
Let net-snmp-create-v3-user save settings into /etc/ instead of /usr/
8a419f
8a419f
diff -up net-snmp-5.5/net-snmp-create-v3-user.in.orig net-snmp-5.5/net-snmp-create-v3-user.in
8a419f
--- net-snmp-5.5/net-snmp-create-v3-user.in.orig	2008-07-22 16:33:25.000000000 +0200
8a419f
+++ net-snmp-5.5/net-snmp-create-v3-user.in	2009-09-29 16:30:36.000000000 +0200
8a419f
@@ -158,7 +158,7 @@ if test ! -d $outfile ; then
8a419f
     touch $outfile
8a419f
 fi
8a419f
 echo $line >> $outfile
8a419f
-outfile="@datadir@/snmp/snmpd.conf"
8a419f
+outfile="/etc/snmp/snmpd.conf"
8a419f
 line="$token $user"
8a419f
 echo "adding the following line to $outfile:"
8a419f
 echo "  " $line