~ubuntu-branches/ubuntu/trusty/ntop/trusty

« back to all changes in this revision

Viewing changes to packages/debian/prerm

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2008-06-15 14:38:28 UTC
  • mfrom: (2.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080615143828-oalh84nda2hje4do
Tags: 3:3.3-11
Correction of Polish translation encoding, closes: #479490. Thanks
to Christian Perrier <bubulle@debian.org> for the help.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# Only shut the daemon down if we're really removing the package.  If this is
 
4
# an upgrade, we will instead do a restart in the postinst... this keeps nprobe
 
5
# from being left shut down for a long time, which could pose problems.
 
6
case "$1" in
 
7
upgrade)
 
8
        ;;
 
9
*)
 
10
        /etc/init.d/ntop stop
 
11
        ;;
 
12
esac
 
13