freebsd-ports/ftp/vsftpd/pkg-deinstall
Dirk Meyer b5357693b1 - Fix pkg-install call script from the Makefile
- Fix pkg-deinstall doesn't match the user used by pkg-install.
- Fix comment at top of vsftpd.conf
- Add commented-out versions of listen=YES and background=YES
  to match the rcNG script's expectations.
- Add missing documentation on how to configure vsftpd to rcNG script.
- Fix two typos in rcNG script.
PR:		130509
Submitted by:	Matthias Andree

- small cleanups
- fix escaping in  rcNG script.
2009-01-17 06:04:20 +00:00

16 lines
295 B
Bash

#!/bin/sh
# $FreeBSD$
#
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=ftp
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete FTP user permanently, use 'pw userdel ${USER}'"
echo "Don't do this if you're using FreeBSD's anonymous FTP server"
fi
exit 0