~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): Martin Pitt
  • Date: 2005-03-14 13:24:46 UTC
  • Revision ID: james.westby@ubuntu.com-20050314132446-l3z00jyi0toqjtbu
Tags: 1:4.2.0a-11ubuntu3
* ntpd/ntpd.c:
  - Revert the hardcoded root dropping parameters from previous version.
    This is now done in init script.
  - Bugfix: If group was specified as name, previous versions erroneously
    used the uid as gid.
* debian/ntp-server.init.d:
  - Run as user/group ntp by default (previously hardcoded in ntpd.c).
  - Already determine the uid/gid of 'ntp' instead of doing it in ntpd.c
    (for some reason this fails directly after boot). (Ubuntu #5399)
  - Add -e to interpreter to stop on errors.
  - append "/usr/bin/" to PATH setting (for getent and cut).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#DEBHELPER#
4
4
 
5
5
if [ "$1" = "purge" ]; then
 
6
        deluser --system --quiet ntp || true
6
7
        rm /var/lib/ntp/ntp.drift
7
8
        rmdir /var/lib/ntp
8
9
        rm -r /var/log/ntpstats