[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:
parent
ad9383f1e0
commit
125871ebbd
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=net-snmp
|
PKG_NAME:=net-snmp
|
||||||
PKG_VERSION:=5.1.2
|
PKG_VERSION:=5.1.2
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/net-snmp
|
PKG_SOURCE_URL:=@SF/net-snmp
|
||||||
|
@ -98,7 +98,7 @@ snmpd_exec_add() {
|
|||||||
[ -n "$prog" ] || return 0
|
[ -n "$prog" ] || return 0
|
||||||
config_get args "$cfg" args
|
config_get args "$cfg" args
|
||||||
config_get miboid "$cfg" miboid
|
config_get miboid "$cfg" miboid
|
||||||
echo "exec $cfg $miboid $prog $args" >> $RUN_C
|
echo "exec $miboid $cfg $prog $args" >> $RUN_C
|
||||||
}
|
}
|
||||||
start() {
|
start() {
|
||||||
[ -d $LIB_D ] || mkdir -p $LIB_D
|
[ -d $LIB_D ] || mkdir -p $LIB_D
|
||||||
|
Loading…
x
Reference in New Issue
Block a user