view debian/dropbear.prerm @ 90:c2ac796b130e DROPBEAR_0.44test2

merge of 00b67a11e33c3ed390556805ed6d1078528bee70 and 42c7bdf484b16e279a0f68604a4346d8fa5ed70c
author Matt Johnston <matt@ucc.asn.au>
date Sat, 04 Sep 2004 14:19:17 +0000
parents b0316ce64e4b
children 3ee0c2f85e1e
line wrap: on
line source

#!/bin/sh
set -u

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