diff options
author | joey <joey> | 2005-01-05 00:09:57 +0000 |
---|---|---|
committer | joey <joey> | 2005-01-05 00:09:57 +0000 |
commit | 982e8935d2259eacf196e2b8d3364d0286e953ca (patch) | |
tree | 36a72155f1e2dc886062e555ac3d1d06cf7c430b /autoscripts/prerm-init-norestart | |
parent | e1f91000857fbeb6db23824948f36490659b466e (diff) |
r1737: releasing version 4.2.30
Diffstat (limited to 'autoscripts/prerm-init-norestart')
-rw-r--r-- | autoscripts/prerm-init-norestart | 2 |
1 files changed, 1 insertions, 1 deletions
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# |