comparison debian/dropbear.postinst @ 546:568638be7203 agent-client

propagate from branch 'au.asn.ucc.matt.dropbear' (head 899a8851a5edf840b2f7925bcc26ffe99dcac54d) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2)
author Matt Johnston <matt@ucc.asn.au>
date Wed, 01 Jul 2009 04:16:32 +0000
parents 7fc4ba3c1cbb
children
comparison
equal deleted inserted replaced
500:d588e3ea557a 546:568638be7203
69 /etc/init.d/dropbear restart 69 /etc/init.d/dropbear restart
70 fi 70 fi
71 fi 71 fi
72 72
73 if test -n "$2" && dpkg --compare-versions "$2" lt '0.50-4' && 73 if test -n "$2" && dpkg --compare-versions "$2" lt '0.50-4' &&
74 update-service --check dropbear; then 74 update-service --check dropbear 2>/dev/null; then
75 update-service --remove /etc/dropbear 2>/dev/null || : 75 update-service --remove /etc/dropbear 2>/dev/null || :
76 sleep 6 76 sleep 6
77 rm -rf /var/run/dropbear /var/run/dropbear.log 77 rm -rf /var/run/dropbear /var/run/dropbear.log
78 update-service --add /etc/dropbear || : 78 update-service --add /etc/dropbear || :
79 fi 79 fi