diff debian/dropbear.postinst @ 218:3ee0c2f85e1e

* patch up to date with debian 0.45-3 diff
author Matt Johnston <matt@ucc.asn.au>
date Fri, 08 Jul 2005 13:27:28 +0000
parents b0316ce64e4b
children 654bc8327787
line wrap: on
line diff
--- a/debian/dropbear.postinst	Mon Mar 07 04:25:43 2005 +0000
+++ b/debian/dropbear.postinst	Fri Jul 08 13:27:28 2005 +0000
@@ -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 @@
 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