~ubuntu-branches/ubuntu/natty/cron/natty

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2006-07-20 22:02:01 UTC
  • Revision ID: james.westby@ubuntu.com-20060720220201-3i65r3ogexfq9clx
Tags: 3.0pl1-94ubuntu1
Remove stop links from rc0 and rc6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
set -e
3
3
 
4
 
update-rc.d cron defaults 89 11 >/dev/null
 
4
update-rc.d cron multiuser 89 11 >/dev/null
 
5
 
 
6
# Remove shutdown and reboot links; this init script does not need them.
 
7
if dpkg --compare-versions "$2" lt "3.0pl1-94ubuntu1"; then
 
8
        rm -f /etc/rc0.d/K11cron /etc/rc6.d/K11cron
 
9
fi
 
10
 
5
11
# Copy existing allow/deny files
6
12
crondir="/var/spool/cron"
7
13
pausemessage="F"