diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-07-08 13:27:28 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-07-08 13:27:28 +0000 |
commit | 03731c723bda295a6f6ee8346d622ea45d796563 (patch) | |
tree | 006d63ab3052d25afbf9ba126668ba99a9991e1f /debian/dropbear.postinst | |
parent | e903109d9f91f014ceb5ffa2918440d4d12acd61 (diff) |
* patch up to date with debian 0.45-3 diff
--HG--
extra : convert_revision : d0935a5d91dac334274693f8d9cd7ae6fd8c2c31
Diffstat (limited to 'debian/dropbear.postinst')
-rw-r--r-- | debian/dropbear.postinst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/dropbear.postinst b/debian/dropbear.postinst index 749ffd1..312eb05 100644 --- a/debian/dropbear.postinst +++ b/debian/dropbear.postinst @@ -2,7 +2,6 @@ set -e test "$1" = 'configure' || exit 0 -test -n "$2" || chown log /etc/dropbear/log/main || true if test ! -e /etc/dropbear/dropbear_rsa_host_key; then if test -f /etc/ssh/ssh_host_rsa_key; then @@ -61,8 +60,8 @@ fi if test -x /etc/init.d/dropbear; then update-rc.d dropbear defaults >/dev/null if test -x /usr/sbin/invoke-rc.d; then - invoke-rc.d dropbear start + invoke-rc.d dropbear restart else - /etc/init.d/dropbear start + /etc/init.d/dropbear restart fi fi |