]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - net-snmp-5.5-dir-fix.patch
b726c47138e1938b1c713c80a406a45717433df5
[people/amarx/ipfire-3.x.git] / net-snmp-5.5-dir-fix.patch
1 Let net-snmp-create-v3-user save settings into /etc/ instead of /usr/
2
3 diff -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