From 6e950945da7a2acbb48fa4138208018f09d66991 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 22 May 2013 01:45:40 +0100 Subject: Switch to new unified layout for Upstart jobs as documented in https://wiki.ubuntu.com/UpstartCompatibleInitScripts: the init script checks for a running Upstart, and we now let dh_installinit handle most of the heavy lifting in maintainer scripts. Ubuntu users should be essentially unaffected except that sshd may no longer start automatically in chroots if the running Upstart predates 0.9.0; but the main goal is simply not to break when openssh-server is installed in a chroot. --- debian/openssh-server.postrm | 2 -- 1 file changed, 2 deletions(-) (limited to 'debian/openssh-server.postrm') diff --git a/debian/openssh-server.postrm b/debian/openssh-server.postrm index 9bb9f1839..fdf0802c9 100644 --- a/debian/openssh-server.postrm +++ b/debian/openssh-server.postrm @@ -16,8 +16,6 @@ case $1 in rm -f /etc/ssh/sshd_not_to_be_run rmdir --ignore-fail-on-non-empty /etc/ssh - update-rc.d ssh remove >/dev/null - if which deluser >/dev/null 2>&1; then deluser --quiet sshd > /dev/null || true fi -- cgit v1.2.3