Package: smartmontools Version: 5.38-1 Severity: wishlist Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu intrepid ubuntu-patch
Hi, For daemons that do not require clean shutdown to perform their operation it is possible to not explicitly stop the daemon in runlevels 0 and 6, and let sendsigs take care of stopping the daemon. This has been used in Ubuntu for a while to speed up the shutdown process. The policy has recently been changed to make it compatible with Debian, and so I am now forwarding you the patch that can help to bring these benefits in to Debian. Please consider applying the attached patch. You will also need a postinst snippet to remove the existing stop links. This will look something like # Remove shutdown and reboot links; this init script does not need them. if dpkg --compare-versions "$2" lt "<version where patch is applied>"; then rm -f /etc/rc0.d/K20nvidia-kernel /etc/rc6.d/K20nvidia-kernel fi You can read more on this subject at https://wiki.ubuntu.com/Teardown https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-June/000430.html http://lists.debian.org/debian-devel/2008/07/msg00005.html Thanks, Didier
diff -purN nvidia-kernel-common-20051028+1+nmu2/debian/rules nvidia-kernel-common-20051028+1ubuntu9/debian/rules --- nvidia-kernel-common-20051028+1+nmu2/debian/rules 2008-07-22 13:53:09.000000000 +0200 +++ nvidia-kernel-common-20051028+1ubuntu9/debian/rules 2008-08-16 15:49:30.000000000 +0200 @@ -19,4 +45,4 @@ install: build dh_clean -k dh_installdirs - dh_installinit --name=nvidia-kernel + dh_installinit --name=nvidia-kernel -- start 20 2 3 4 5 . stop 20 1 .