File: prerm

package info (click to toggle)
ntop 2:3.0-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 10,632 kB
  • ctags: 6,070
  • sloc: ansic: 94,363; sh: 16,559; awk: 1,348; perl: 792; makefile: 741; xml: 314; php: 123; python: 23; sql: 13; sed: 11
file content (12 lines) | stat: -rwxr-xr-x 190 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

if [ -x "/etc/init.d/ntop" ]; then
    if [ -x /usr/sbin/invoke-rc.d ] ; then
	invoke-rc.d ntop stop || true
    else
	/etc/init.d/ntop stop || true
    fi
fi

#DEBHELPER#