diff options
Diffstat (limited to '')
-rw-r--r-- | autoscripts/preinst-init-stop | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/preinst-init-stop b/autoscripts/preinst-init-stop new file mode 100644 index 0000000..1cb0175 --- /dev/null +++ b/autoscripts/preinst-init-stop @@ -0,0 +1,3 @@ +if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = upgrade ] && [ -x "/etc/init.d/#SCRIPT#" ] ; then + invoke-rc.d #INVOKE_RCD_PARAMS##SCRIPT# stop || #ERROR_HANDLER# +fi |