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)
commitb7b56df70790aa17eed47c31a3a588a557f64d41
treed5d76e82028267d4d1d93377f181c0beeb7b6451
parentd0659ce37e776153565691e1cabaee915d73d2d6
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