packages/vsftpd: use new service functions
[openwrt/svn-archive/archive.git] / net / vsftpd / files / vsftpd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=50
5
6 start() {
7 mkdir -m 0755 -p /var/run/vsftpd
8 service_start /usr/sbin/vsftpd
9 }
10
11 stop() {
12 service_stop /usr/sbin/vsftpd
13 }