package/base-files: enhance & cleanup service wrappers
authorNicolas Thill <nico@openwrt.org>
Tue, 8 Nov 2011 22:47:49 +0000 (22:47 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 8 Nov 2011 22:47:49 +0000 (22:47 +0000)
commit3539ed62ee742263d0973745e2f2ac06fb09700f
tree6312682306223cd6f52c60baade8689255ed6c85
parent445ecc1fbbf00b6a2ef8380b5bf10d53423089c9
package/base-files: enhance & cleanup service wrappers

 * add service_check function for checking if a process is alive
 * add service_signal for sending arbitrary signals to a process
 * change service_stop to send a TERM signal first, wait for the process to die and send a KILL signal if it doen't
 * have service_kill print a warning on STDERR stating it has been deprecated

SVN-Revision: 28865
package/base-files/Makefile
package/base-files/files/lib/functions.sh