packages/net/vsftpd/files/vsftpd.init
nico 77977ed1dd packages/vsftpd: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 23:29:29 +00:00

14 lines
195 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=50
start() {
mkdir -m 0755 -p /var/run/vsftpd
service_start /usr/sbin/vsftpd
}
stop() {
service_stop /usr/sbin/vsftpd
}