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-norestart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoscripts/prerm-init-norestart') diff --git a/autoscripts/prerm-init-norestart b/autoscripts/prerm-init-norestart index 0f64c45e..9b631748 100644 --- a/autoscripts/prerm-init-norestart +++ b/autoscripts/prerm-init-norestart @@ -1,5 +1,5 @@ if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; 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