~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to debian/prerm

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
set -e
3
3
 
4
4
if [ -x "/etc/init.d/ntop" ]; then
5
 
        /etc/init.d/ntop stop
 
5
    if [ -x /usr/sbin/invoke-rc.d ] ; then
 
6
        invoke-rc.d ntop stop || true
 
7
    else
 
8
        /etc/init.d/ntop stop || true
 
9
    fi
6
10
fi
7
11
 
8
12
#DEBHELPER#