aboutsummaryrefslogtreecommitdiff
path: root/packages/ubuntu/debian/prerm
blob: 58af3b74c1e3ec0e11599cfa9011f67182230b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

# Only shut the daemon down if we're really removing the package.  If this is
# an upgrade, we will instead do a restart in the postinst... this keeps nprobe
# from being left shut down for a long time, which could pose problems.
case "$1" in
upgrade)
	;;
*)
	/etc/init.d/nprobe stop
	;;
esac

exit 0