Changeset 25586


Ignore:
Timestamp:
2011-02-19T13:48:52+01:00 (6 years ago)
Author:
florian
Message:

[package] net-snmp: fix exec section execname -> name usage (#8882)

Location:
packages/net/net-snmp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/net-snmp/Makefile

    r25486 r25586  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=net-snmp 
    1111PKG_VERSION:=5.4.2.1 
    12 PKG_RELEASE:=4 
     12PKG_RELEASE:=5 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/net-snmp/files/snmpd.init

    r18780 r25586  
    102102        local cfg="$1" 
    103103 
    104         config_get execname "$cfg" execname 
    105         [ -n "$execname" ] || return 0 
     104        config_get name "$cfg" name 
     105        [ -n "$name" ] || return 0 
    106106        config_get prog "$cfg" prog 
    107107        [ -n "$prog" ] || return 0 
    108108        config_get args "$cfg" args 
    109109        config_get miboid "$cfg" miboid 
    110         echo "exec $miboid $execname $prog $args" >> $RUN_C 
     110        echo "exec $miboid $name $prog $args" >> $RUN_C 
    111111} 
    112112start() { 
Note: See TracChangeset for help on using the changeset viewer.