File: prerm

package info (click to toggle)
ntop 3:5.0.1+dfsg1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,720 kB
  • ctags: 11,480
  • sloc: ansic: 79,804; sh: 21,658; python: 1,948; awk: 1,504; perl: 971; makefile: 745; php: 123; xml: 71; 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#