2b9da571f3
- Added char convertion without iconv for some charsets. - Added rules for anonymous access based on user's IP address masks. - Added rules for user access only from defined IPs. - Allow or disallow delete files by anonymous. - Added chowning anonymous uploaded files by user IP. - Added new parametr double_377 (by default 1). This paramert switch off telnet specific character \377. - Changed find libs in "vsf_findlibs.sh". - Different speed for upload and download data transfer rates for anonymous and local users. WWW: http://vsftpd.devnet.ru/eng/ PR: ports/132556 Submitted by: Maxim Ignatenko
17 lines
382 B
Bash
17 lines
382 B
Bash
#!/bin/sh
|
|
# $FreeBSD: /tmp/pcvs/ports/ftp/vsftpd-ext/pkg-deinstall,v 1.1 2009-06-16 03:53:39 pgollucci Exp $
|
|
#
|
|
|
|
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
|