summaryrefslogtreecommitdiff
path: root/ftp/proftpd/files/proftpd.sh.sample
blob: d2598672f5e28ebc07e7132b72245d1998a6a646 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

case "$1" in

start)
	if [ -x /usr/local/libexec/proftpd ]; then
		/usr/local/libexec/proftpd && echo -n ' proftpd'
	fi
	;;

stop)
	killall proftpd
	;;
*)
	echo "$0 start | stop"
	;;

esac