diff options
author | joey <joey> | 2004-06-29 00:03:54 +0000 |
---|---|---|
committer | joey <joey> | 2004-06-29 00:03:54 +0000 |
commit | ad092508ea530253700749a3119bf8a24dcc162e (patch) | |
tree | 9c5bcde32f8bea565082d18d9e749c39741309b6 /autoscripts | |
parent | 62d0cab3e04ec95e5c62a58d291018a1ebce228f (diff) |
r1691: * dh_installinit: Added --error-handler option. Based on work by Thom May.
Closes: #209090
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/postinst-init | 4 | ||||
-rw-r--r-- | autoscripts/postinst-init-nostart | 2 | ||||
-rw-r--r-- | autoscripts/postrm-init | 2 | ||||
-rw-r--r-- | autoscripts/prerm-init | 4 | ||||
-rw-r--r-- | autoscripts/prerm-init-norestart | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init index b5bd7a57..8128cd96 100644 --- a/autoscripts/postinst-init +++ b/autoscripts/postinst-init @@ -1,8 +1,8 @@ if [ -x "/etc/init.d/#SCRIPT#" ]; then update-rc.d #SCRIPT# #INITPARMS# >/dev/null if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d #SCRIPT# start + invoke-rc.d #SCRIPT# start || #ERROR_HANDLER# else - /etc/init.d/#SCRIPT# start + /etc/init.d/#SCRIPT# start || #ERROR_HANDLER# fi fi diff --git a/autoscripts/postinst-init-nostart b/autoscripts/postinst-init-nostart index 5d882b6f..7a1bd5e8 100644 --- a/autoscripts/postinst-init-nostart +++ b/autoscripts/postinst-init-nostart @@ -1,3 +1,3 @@ if [ -x "/etc/init.d/#SCRIPT#" ]; then - update-rc.d #SCRIPT# #INITPARMS# >/dev/null + update-rc.d #SCRIPT# #INITPARMS# >/dev/null || #ERROR_HANDLER# fi diff --git a/autoscripts/postrm-init b/autoscripts/postrm-init index 1c292982..628ece6e 100644 --- a/autoscripts/postrm-init +++ b/autoscripts/postrm-init @@ -1,3 +1,3 @@ if [ "$1" = "purge" ] ; then - update-rc.d #SCRIPT# remove >/dev/null + update-rc.d #SCRIPT# remove >/dev/null || #ERROR_HANDLER# fi diff --git a/autoscripts/prerm-init b/autoscripts/prerm-init index eab98c72..014fa9a0 100644 --- a/autoscripts/prerm-init +++ b/autoscripts/prerm-init @@ -1,7 +1,7 @@ if [ -x "/etc/init.d/#SCRIPT#" ]; then if [ -x /usr/sbin/invoke-rc.d ] ; then - invoke-rc.d #SCRIPT# stop + invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER# else - /etc/init.d/#SCRIPT# stop + /etc/init.d/#SCRIPT# stop || #ERROR_HANDLER# fi fi diff --git a/autoscripts/prerm-init-norestart b/autoscripts/prerm-init-norestart index fb991524..0f64c45e 100644 --- a/autoscripts/prerm-init-norestart +++ b/autoscripts/prerm-init-norestart @@ -1,7 +1,7 @@ if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; then if [ -x /usr/sbin/invoke-rc.d ] ; then - invoke-rc.d #SCRIPT# stop + invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER# else - /etc/init.d/#SCRIPT# stop + /etc/init.d/#SCRIPT# stop || #ERROR_HANDLER# fi fi |