summaryrefslogtreecommitdiff
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
parentc40ca492b1feb1c1adca9d6516fef28abe48a469 (diff)
stop link for rc1; fix function call
-rw-r--r--debian/changelog5
-rw-r--r--debian/openssh-server.postinst4
2 files changed, 5 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index e0f35ef1c..246619557 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -58,8 +58,9 @@ openssh (1:4.6p1-1) UNRELEASED; urgency=low
58 * Build the .deb --with-ssl-engine (closes: #408027, LP: #119295). 58 * Build the .deb --with-ssl-engine (closes: #408027, LP: #119295).
59 * Use LSB functions in init scripts, and add an LSB-style header (partly 59 * Use LSB functions in init scripts, and add an LSB-style header (partly
60 from Ubuntu and partly thanks to Christian Perrier; closes: #389038). 60 from Ubuntu and partly thanks to Christian Perrier; closes: #389038).
61 * Move init script start links to S16, and remove stop links altogether 61 * Move init script start links to S16, move rc1 stop link to K84, and
62 (the latter from Ubuntu; closes: #122188). 62 remove rc0 and rc6 stop links altogether (the last part from Ubuntu;
63 closes: #122188).
63 * Emit a slightly more informative message from the init script if 64 * Emit a slightly more informative message from the init script if
64 /dev/null has somehow become not a character device (closes: #369964). 65 /dev/null has somehow become not a character device (closes: #369964).
65 * Belatedly build-depend on zlib1g-dev (>= 1:1.2.3-1) (closes: #333447). 66 * Belatedly build-depend on zlib1g-dev (>= 1:1.2.3-1) (closes: #333447).
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