Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 346082 Details for
Bug 466340
net-ftp/vsftpd: add systemd unit, move checkconfig() to /usr/libexec/vsftpd-checkconfig.sh
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
vsftpd-checkconfig.sh
vsftpd-checkconfig.sh (text/plain), 785 bytes, created by
Fabio Erculiani (RETIRED)
on 2013-04-20 12:16:11 UTC
(
hide
)
Description:
vsftpd-checkconfig.sh
Filename:
MIME Type:
Creator:
Fabio Erculiani (RETIRED)
Created:
2013-04-20 12:16:11 UTC
Size:
785 bytes
patch
obsolete
>#!/bin/sh > >VSFTPD_CONF="${VSFTPD_CONF:-/etc/vsftpd/vsftpd.conf}" > >if [ ! -e ${VSFTPD_CONF} ] ; then > echo "Please setup ${VSFTPD_CONF} before starting vsftpd" >&2 > echo "There are sample configurations in /usr/share/doc/vsftpd" >&2 > exit 1 >fi > >if egrep -iq "^ *background *= *yes" "${VSFTPD_CONF}" ; then > echo "${VSFTPD_CONF} must not set background=YES" >&2 > exit 1 >fi > >has_ip=false has_ipv6=false ip_error=true >egrep -iq "^ *listen *= *yes" "${VSFTPD_CONF}" && has_ip=true >egrep -iq "^ *listen_ipv6 *= *yes" "${VSFTPD_CONF}" && has_ipv6=true >if ${has_ip} && ! ${has_ipv6} ; then > ip_error=false >elif ! ${has_ip} && ${has_ipv6} ; then > ip_error=false >fi >if ${ip_error} ; then > echo "${VSFTPD_CONF} must contain listen=YES or listen_ipv6=YES" >&2 > echo "but not both" >&2 > exit 1 >fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 466340
:
345874
|
345876
|
345878
| 346082