view debian/dropbear.prerm @ 270:50da8d4b5acd

merge of c9dc9c734d4724866a86987356e6aedeed1c93dd and fe38e5c38c2e7d5a4bb76aee511d345f1c2d5ac2
author Matt Johnston <matt@ucc.asn.au>
date Wed, 25 Jan 2006 17:14:32 +0000
parents 3ee0c2f85e1e
children
line wrap: on
line source

#!/bin/sh
set -e

test "$1" = 'remove' || test "$1" = 'deconfigure' || exit 0
if test -x /etc/init.d/dropbear; then
  if test -x /usr/sbin/invoke-rc.d; then
    invoke-rc.d dropbear stop
  else
    /etc/init.d/dropbear stop
  fi
fi