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

23ac29
diff -urNp a/net-snmp-create-v3-user.in b/net-snmp-create-v3-user.in
23ac29
--- a/net-snmp-create-v3-user.in	2018-07-18 11:11:53.227015237 +0200
23ac29
+++ b/net-snmp-create-v3-user.in	2018-07-18 11:12:13.375010176 +0200
23ac29
@@ -137,7 +137,7 @@ fi
23ac29
 echo $line >> $outfile
23ac29
 prefix="@prefix@"
23ac29
 datarootdir="@datarootdir@"
23ac29
-outfile="@datadir@/snmp/snmpd.conf"
23ac29
+outfile="/etc/snmp/snmpd.conf"
23ac29
 line="$token $user"
23ac29
 echo "adding the following line to $outfile:"
23ac29
 echo "  " $line