Browse Source

net-snmp: changed to install an example snmpd.conf into $sysconfdir/snmp

user/karasz/firmware
Christian Wiese 13 years ago committed by Christian Wiese
parent
commit
5b21f20be3
  1. 7
      network/net-snmp/net-snmp.conf

7
network/net-snmp/net-snmp.conf

@ -33,3 +33,10 @@ if pkginstalled openssl; then
else
var_append extraconfopt ' ' --without-openssl
fi
pkg_net_snmp_postmake() {
# create $sysconfdit/snmp and copy example snmpd.conf
mkdir $root$sysconfdir/snmp
install -m 600 EXAMPLE.conf $root$sysconfdir/snmp/snmpd.conf.sample
}
hook_add postmake 9 'pkg_net_snmp_postmake'

Loading…
Cancel
Save