File: postrm

package info (click to toggle)
proftpd 1.2.0pre1-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,468 kB
  • ctags: 2,106
  • sloc: ansic: 19,206; sh: 1,640; makefile: 480; perl: 235
file content (15 lines) | stat: -rw-r--r-- 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e
if [ "$1" = "remove" ] || [ "$1" = "purge" ]
then
    if [ -e /etc/init.d/proftpd ]
    then
	/etc/init.d/proftpd stop
	if [ -x /usr/bin/killall ] ; then killall proftpd ; fi
    fi
    update-inetd --comment-chars "#<proftpd># " --enable "ftp"
fi
# Automatically added by debstd on Fri, 17 Apr 1998 18:55:22 -0400
if [ "$1" = "purge" ]
then
	update-rc.d proftpd remove >/dev/null
fi