diff options
author | Colin Watson <cjwatson@debian.org> | 2007-06-12 23:51:21 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-06-12 23:51:21 +0000 |
commit | 2907bc7f11a2917c6080e0eac7f3320776628e7f (patch) | |
tree | 68ca09e7cf27d95495e0485be99bbf90884a30f4 /debian/openssh-server.postinst | |
parent | c40ca492b1feb1c1adca9d6516fef28abe48a469 (diff) |
stop link for rc1; fix function call
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r-- | debian/openssh-server.postinst | 4 |
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 | ||
357 | setup_init() { | 357 | setup_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 |
387 | fi | 387 | fi |
388 | if dpkg --compare-versions "$2" lt 1:4.6p1-1; then | 388 | if dpkg --compare-versions "$2" lt 1:4.6p1-1; then |
389 | remove_old_init_link | 389 | remove_old_init_links |
390 | fi | 390 | fi |
391 | setup_init | 391 | setup_init |
392 | commit_transfer_conffile /etc/default/ssh | 392 | commit_transfer_conffile /etc/default/ssh |