]>
Commit | Line | Data |
---|---|---|
0302c83d MT |
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 |