~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to debian/ntp-refclock.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-10-11 16:10:27 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041011161027-icyjbji8ujym633o
Tags: 1:4.2.0a-10ubuntu2
Use ntp.ubuntulinux.org instead of pool.ntp.org

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
# remove /etc/ntp if we control it and we're purging
4
 
if [ "$1" = "purge" ]
5
 
then
6
 
 
7
 
        . /usr/share/debconf/confmodule
8
 
 
9
 
        db_get shared/ntp/update-conf
10
 
        OverwriteConfig="${RET:-true}"
11
 
 
12
 
        if test "$OverwriteConfig" = "true"
13
 
        then
14
 
                rm -f /etc/ntp.conf
15
 
        fi
 
3
#DEBHELPER#
 
4
 
 
5
if [ "$1" = "purge" ]; then
 
6
        rm /var/lib/ntp/ntp.drift
 
7
        rmdir /var/lib/ntp
 
8
        rm -r /var/log/ntpstats
16
9
fi
17
10
 
18
 
#DEBHELPER#
 
11
exit 0