From 982e8935d2259eacf196e2b8d3364d0286e953ca Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 5 Jan 2005 00:09:57 +0000 Subject: r1737: releasing version 4.2.30 --- autoscripts/prerm-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoscripts/prerm-init') diff --git a/autoscripts/prerm-init b/autoscripts/prerm-init index 014fa9a0..96d37558 100644 --- a/autoscripts/prerm-init +++ b/autoscripts/prerm-init @@ -1,5 +1,5 @@ if [ -x "/etc/init.d/#SCRIPT#" ]; then - if [ -x /usr/sbin/invoke-rc.d ] ; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER# else /etc/init.d/#SCRIPT# stop || #ERROR_HANDLER# -- cgit v1.2.3