#!/bin/bash logfile=${logfile:-/var/log/vsftpd.log} if [ "$1" = "autoconf" ]; then if [ -f "${logfile}" ]; then echo yes exit 0 else echo no exit 0 fi fi if [ "$1" = "config" ]; then cat <