Package: at Version: 3.1.10.1 Severity: wishlist Tags: patch User: [EMAIL PROTECTED] Usertags: ubuntu intrepid ubuntu-patch
Hi, Please consider not installing rc.d symlinks for shutdown (0) and reboot (6) any more. It is not needed to shut down at with an init script, the generall killall -TERM/killall -KILL at the end of shutdown/reboot will do just fine and is faster. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -Nru /tmp/li9Eqzv1VG/at-3.1.10.1/debian/postinst /tmp/xsZVok6CSq/at-3.1.10.1ubuntu1/debian/postinst --- at-3.1.10.1/debian/postinst 2005-08-05 05:16:01.000000000 +0200 +++ at-3.1.10.1ubuntu1/debian/postinst 2008-05-15 15:50:13.000000000 +0200 @@ -8,7 +8,7 @@ chown daemon:daemon $SEQFILE fi if [ -z "$2" ]; then - update-rc.d atd defaults 89 11 > /dev/null + update-rc.d atd start 89 2 3 4 5 . stop 11 1 . > /dev/null else if dpkg --compare-versions "$2" lt 3.1.9; then chown daemon:daemon /var/spool/cron/atjobs /var/spool/cron/atspool /var/spool/cron/atjobs/.SEQ @@ -25,6 +25,10 @@ chmod 0640 /etc/at.allow fi fi + # Remove shutdown and reboot links; this init script does not need them. + if dpkg --compare-versions "$2" lt "3.1.11"; then + rm -f /etc/rc0.d/K11atd /etc/rc6.d/K11atd + fi fi fi diff -Nru /tmp/li9Eqzv1VG/at-3.1.10.1/debian/rc /tmp/xsZVok6CSq/at-3.1.10.1ubuntu1/debian/rc --- at-3.1.10.1/debian/rc 2008-01-27 06:20:00.000000000 +0100 +++ at-3.1.10.1ubuntu1/debian/rc 2008-05-15 15:45:28.000000000 +0200 @@ -4,7 +4,7 @@ # Required-Start: $syslog $time $remote_fs # Required-Stop: $syslog $time $remote_fs # Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 +# Default-Stop: 1 # Short-Description: Deferred execution scheduler # Description: Debian init script for the atd deferred executions # scheduler
signature.asc
Description: Digital signature