summaryrefslogtreecommitdiffstats
path: root/package/vsftpd/files/vsftpd.init
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-15 20:39:09 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-15 20:39:09 +0000
commit4033a8be8c8d61d7b8fe138cc7d142a1f51e1eb6 (patch)
treea46173845e125cac6d2353fa5bc7119738f86d55 /package/vsftpd/files/vsftpd.init
parentea12cac80876ef193ceeef2e2b4368c6bd1758e6 (diff)
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/vsftpd.init')
-rw-r--r--package/vsftpd/files/vsftpd.init15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/vsftpd/files/vsftpd.init b/package/vsftpd/files/vsftpd.init
new file mode 100644
index 000000000..4d4f4f240
--- /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 $?