From a0817ee93fe0db19bec1d79a52b6c7d3262268d2 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 19 Feb 2011 12:48:52 +0000 Subject: [PATCH] net-snmp: fix exec section execname -> name usage (#8882) SVN-Revision: 25586 --- net/net-snmp/Makefile | 4 ++-- net/net-snmp/files/snmpd.init | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index 748126827..05de29b8f 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2006-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=net-snmp PKG_VERSION:=5.4.2.1 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/net-snmp diff --git a/net/net-snmp/files/snmpd.init b/net/net-snmp/files/snmpd.init index 24291fc31..770961e15 100644 --- a/net/net-snmp/files/snmpd.init +++ b/net/net-snmp/files/snmpd.init @@ -101,13 +101,13 @@ snmpd_pass_add() { snmpd_exec_add() { local cfg="$1" - config_get execname "$cfg" execname - [ -n "$execname" ] || return 0 + config_get name "$cfg" name + [ -n "$name" ] || return 0 config_get prog "$cfg" prog [ -n "$prog" ] || return 0 config_get args "$cfg" args config_get miboid "$cfg" miboid - echo "exec $miboid $execname $prog $args" >> $RUN_C + echo "exec $miboid $name $prog $args" >> $RUN_C } start() { [ -d $LIB_D ] || mkdir -p $LIB_D -- 2.30.2