[packages] net-snmp: fix snmpd.init generating wrong 'exec' configuration (closes: #4728)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@15334 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2009-04-21 22:58:42 +00:00
parent ad9383f1e0
commit 125871ebbd
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=net-snmp
PKG_VERSION:=5.1.2
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/net-snmp

View File

@ -98,7 +98,7 @@ snmpd_exec_add() {
[ -n "$prog" ] || return 0
config_get args "$cfg" args
config_get miboid "$cfg" miboid
echo "exec $cfg $miboid $prog $args" >> $RUN_C
echo "exec $miboid $cfg $prog $args" >> $RUN_C
}
start() {
[ -d $LIB_D ] || mkdir -p $LIB_D