summaryrefslogtreecommitdiff
path: root/package/vsftpd/files/vsftpd.init
diff options
context:
space:
mode:
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 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 $?