diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-08-27 01:22:08 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-08-27 01:22:08 +0000 |
commit | 68b12f212b82b4d680ffef260ff3f419ae2fdc1b (patch) | |
tree | 1c025bce548db91b30e78ce2578ff00d48035444 /obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root | |
parent | f0c8400658ac5b039bb48dbb74b02f75d52b9723 (diff) |
nico's buildroot-20040827-vsftpd.patch.txt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@150 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root')
-rw-r--r-- | obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/init.d/vsftpd | 19 | ||||
-rw-r--r-- | obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/vsftpd.conf | 17 |
2 files changed, 36 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/init.d/vsftpd b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/init.d/vsftpd new file mode 100644 index 000000000..0152e4ec8 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/init.d/vsftpd @@ -0,0 +1,19 @@ +#!/bin/sh + +case $1 in + start) + [ -d /var/run/vsftpd ] || mkdir -p /var/run/vsftpd + /usr/sbin/vsftpd + ;; + stop) + pid=$(pidof vsftpd) + x=$$ # exclude our pid since we have the same name + pid=$(echo $pid | sed -e "s/$x//") + [ -n "$pid" ] && kill -TERM $pid + ;; + *) + echo "usage: $0 (start|stop)" + exit 1 +esac + +exit $? diff --git a/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/vsftpd.conf b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/vsftpd.conf new file mode 100644 index 000000000..f3ba34f50 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/vsftpd.conf @@ -0,0 +1,17 @@ +background=YES +listen=YES +anonymous_enable=NO +local_enable=YES +write_enable=YES +local_umask=022 +check_shell=NO +#dirmessage_enable=YES +#ftpd_banner=Welcome to blah FTP service. +session_support=NO +#syslog_enable=YES +#userlist_enable=YES +#userlist_deny=NO +#userlist_file=/etc/vsftpd.users +#xferlog_enable=YES +#xferlog_file=/var/log/vsftpd.log +#xferlog_std_format=YES |