summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 120377d0b..9dfc68a5a 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -407,12 +407,12 @@ remove_old_init_links() {
407 if [ -e /etc/rc2.d/S20ssh ]; then 407 if [ -e /etc/rc2.d/S20ssh ]; then
408 update-rc.d -f ssh remove >/dev/null 2>&1 408 update-rc.d -f ssh remove >/dev/null 2>&1
409 fi 409 fi
410 rm -f /etc/rc0.d/K??ssh /etc/rc6.d/K??ssh 410 rm -f /etc/rc0.d/K??ssh /etc/rc1.d/K??ssh /etc/rc6.d/K??ssh
411} 411}
412 412
413setup_init() { 413setup_init() {
414 if [ -x /etc/init.d/ssh ]; then 414 if [ -x /etc/init.d/ssh ]; then
415 update-rc.d ssh start 16 2 3 4 5 . stop 84 1 . >/dev/null 415 update-rc.d ssh start 16 2 3 4 5 . >/dev/null
416 if [ -x /usr/sbin/invoke-rc.d ]; then 416 if [ -x /usr/sbin/invoke-rc.d ]; then
417 invoke-rc.d ssh restart 417 invoke-rc.d ssh restart
418 else 418 else
@@ -455,7 +455,7 @@ setup_sshd_user
455if dpkg --compare-versions "$2" lt 1:3.6.1p2-2; then 455if dpkg --compare-versions "$2" lt 1:3.6.1p2-2; then
456 fix_conffile_permissions 456 fix_conffile_permissions
457fi 457fi
458if dpkg --compare-versions "$2" lt 1:4.6p1-1; then 458if dpkg --compare-versions "$2" lt 1:5.2p1-1; then
459 remove_old_init_links 459 remove_old_init_links
460fi 460fi
461setup_init 461setup_init