Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
385 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | #(c) DatuX 2007 |
---|
3 | if [ ! -e /var/log/snmpd.log.1.gz ]; then |
---|
4 | #mag fout gaan bij eerste installatie: |
---|
5 | logrotate -f /etc/logrotate.d/snmpd &>/dev/null |
---|
6 | fi |
---|
7 | |
---|
8 | |
---|
9 | if ! grep agentXSocket /etc/snmp/snmpd.conf 1> /dev/null 2> /dev/null; then |
---|
10 | echo ' |
---|
11 | master agentx |
---|
12 | agentXSocket /var/agentx/master |
---|
13 | agentXPerms 0666 0555 nobody nogroup |
---|
14 | ' >> /etc/snmpd.conf |
---|
15 | fi |
---|
16 | |
---|
17 | |
---|
18 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.