summaryrefslogtreecommitdiff
path: root/package/vsftpd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/vsftpd/files')
-rw-r--r--package/vsftpd/files/vsftpd.conffiles1
-rw-r--r--package/vsftpd/files/vsftpd.init4
-rw-r--r--package/vsftpd/files/vsftpd.postinst3
3 files changed, 7 insertions, 1 deletions
diff --git a/package/vsftpd/files/vsftpd.conffiles b/package/vsftpd/files/vsftpd.conffiles
new file mode 100644
index 000000000..45632cf31
--- /dev/null
+++ b/package/vsftpd/files/vsftpd.conffiles
@@ -0,0 +1 @@
+/etc/vsftpd.conf
diff --git a/package/vsftpd/files/vsftpd.init b/package/vsftpd/files/vsftpd.init
index 1215888ce..7d5e5cccb 100644
--- a/package/vsftpd/files/vsftpd.init
+++ b/package/vsftpd/files/vsftpd.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 70
+#PKG vsftpd
+#INIT 70
+
. /etc/rc.conf
case $1 in
diff --git a/package/vsftpd/files/vsftpd.postinst b/package/vsftpd/files/vsftpd.postinst
new file mode 100644
index 000000000..c64e98223
--- /dev/null
+++ b/package/vsftpd/files/vsftpd.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf vsftpd vsftpd NO