aboutsummaryrefslogtreecommitdiffstats
path: root/package/vsftpd/files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-15 20:39:09 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-15 20:39:09 +0000
commit172dca5aa6e6d27ec7900644b2d492b3cdd4bccd (patch)
treea46173845e125cac6d2353fa5bc7119738f86d55 /package/vsftpd/files
parent4eddce762d46dfe00af99b6e51762b3aa79796da (diff)
downloadmaster-187ad058-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.tar.gz
master-187ad058-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.tar.bz2
master-187ad058-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.zip
Add vsftpd package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@913 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/vsftpd/files')
-rw-r--r--package/vsftpd/files/vsftpd.conf17
-rw-r--r--package/vsftpd/files/vsftpd.init15
2 files changed, 32 insertions, 0 deletions
diff --git a/package/vsftpd/files/vsftpd.conf b/package/vsftpd/files/vsftpd.conf
new file mode 100644
index 0000000000..f3ba34f507
--- /dev/null
+++ b/package/vsftpd/files/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
diff --git a/package/vsftpd/files/vsftpd.init b/package/vsftpd/files/vsftpd.init
new file mode 100644
index 0000000000..4d4f4f240d
--- /dev/null
+++ b/package/vsftpd/files/vsftpd.init
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+RUN_D=/var/run/vsftpd
+
+case $1 in
+ start)
+ [ -d $RUN_D ] || mkdir -p $RUN_D
+ vsftpd
+ ;;
+ *)
+ echo "usage: $0 (start)"
+ exit 1
+esac
+
+exit $?