]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - net-snmp/patches/net-snmp-5.5-dir-fix.patch
net-snmp: Update to 5.7.2.
[people/ms/ipfire-3.x.git] / net-snmp / patches / net-snmp-5.5-dir-fix.patch
CommitLineData
0302c83d
MT
1Let net-snmp-create-v3-user save settings into /etc/ instead of /usr/
2
3diff -up net-snmp-5.5/net-snmp-create-v3-user.in.orig net-snmp-5.5/net-snmp-create-v3-user.in
4--- net-snmp-5.5/net-snmp-create-v3-user.in.orig 2008-07-22 16:33:25.000000000 +0200
5+++ net-snmp-5.5/net-snmp-create-v3-user.in 2009-09-29 16:30:36.000000000 +0200
6@@ -158,7 +158,7 @@ if test ! -d $outfile ; then
7 touch $outfile
8 fi
9 echo $line >> $outfile
10-outfile="@datadir@/snmp/snmpd.conf"
11+outfile="/etc/snmp/snmpd.conf"
12 line="$token $user"
13 echo "adding the following line to $outfile:"
14 echo " " $line