File: postrm

package info (click to toggle)
xntp3 5.93-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 7,644 kB
  • ctags: 7,419
  • sloc: ansic: 59,474; perl: 3,633; sh: 2,623; awk: 417; makefile: 311; asm: 37
file content (13 lines) | stat: -rw-r--r-- 320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

# make absolutely sure we don't leave a daemon hanging around
start-stop-daemon --stop  --quiet --exec /usr/sbin/xntpd

# if we're purging... clean up our droppings...
if [ "$1" == "purge" ]
then
	rm -f /var/log/xntpd*
	rm -f /etc/ntp.conf
	rm -f /etc/init.d/xntp3
	update-rc.d xntp3 remove > /dev/null
fi