package/base-files: enhance service functions
authorNicolas Thill <nico@openwrt.org>
Sat, 12 Nov 2011 13:53:15 +0000 (13:53 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 12 Nov 2011 13:53:15 +0000 (13:53 +0000)
commitdc5dd36df49b4c5ff7f15fb7420f2e8cdd9d5446
tree84a0267f6d499b84806a077f729e01d1820536cf
parent96e3c5d0b806ded0f364eb4285adeaeb04bce33c
package/base-files: enhance service functions

 * allow matching process by name (useful for processes changing it)
 * check if first argument is executable
 * fix function name used in error messages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28991 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/functions.sh