File: proftpd-basic.prerm

package info (click to toggle)
proftpd-dfsg 1.3.3a-6squeeze7
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 19,868 kB
  • ctags: 10,217
  • sloc: ansic: 111,549; perl: 94,506; sh: 17,265; makefile: 1,986
file content (13 lines) | stat: -rw-r--r-- 180 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

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

#DEBHELPER#