summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-06-12 23:51:21 +0000
committerColin Watson <cjwatson@debian.org>2007-06-12 23:51:21 +0000
commit2907bc7f11a2917c6080e0eac7f3320776628e7f (patch)
tree68ca09e7cf27d95495e0485be99bbf90884a30f4 /debian/openssh-server.postinst
parentc40ca492b1feb1c1adca9d6516fef28abe48a469 (diff)
stop link for rc1; fix function call
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 32d0e46ff..e73d3957c 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -356,7 +356,7 @@ remove_old_init_links() {
356 356
357setup_init() { 357setup_init() {
358 if [ -x /etc/init.d/ssh ]; then 358 if [ -x /etc/init.d/ssh ]; then
359 update-rc.d ssh start 16 2 3 4 5 . >/dev/null 359 update-rc.d ssh start 16 2 3 4 5 . stop 84 1 . >/dev/null
360 if [ -x /usr/sbin/invoke-rc.d ]; then 360 if [ -x /usr/sbin/invoke-rc.d ]; then
361 invoke-rc.d ssh restart 361 invoke-rc.d ssh restart
362 else 362 else
@@ -386,7 +386,7 @@ if dpkg --compare-versions "$2" lt 1:3.6.1p2-2; then
386 fix_conffile_permissions 386 fix_conffile_permissions
387fi 387fi
388if dpkg --compare-versions "$2" lt 1:4.6p1-1; then 388if dpkg --compare-versions "$2" lt 1:4.6p1-1; then
389 remove_old_init_link 389 remove_old_init_links
390fi 390fi
391setup_init 391setup_init
392commit_transfer_conffile /etc/default/ssh 392commit_transfer_conffile /etc/default/ssh