wifipineapple-openwrt/package/vsftpd/files/vsftpd.init

16 lines
156 B
Bash

#!/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 $?