use defaults for missing config options when compiling busybox snapshot
[openwrt.git] / obsolete-buildroot / sources / openwrt / ipkg / vsftpd / root / etc / init.d / vsftpd
1 #!/bin/sh
2
3 case $1 in
4 start)
5 [ -d /var/run/vsftpd ] || mkdir -p /var/run/vsftpd
6 /usr/sbin/vsftpd
7 ;;
8 stop)
9 pid=$(pidof vsftpd)
10 x=$$ # exclude our pid since we have the same name
11 pid=$(echo $pid | sed -e "s/$x//")
12 [ -n "$pid" ] && kill -TERM $pid
13 ;;
14 *)
15 echo "usage: $0 (start|stop)"
16 exit 1
17 esac
18
19 exit $?
This page took 0.048769 seconds and 5 git commands to generate.