aboutsummaryrefslogtreecommitdiff
path: root/ftp/proftpd-devel/files
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-10-10 07:10:41 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-10-10 07:10:41 +0000
commit9b9c3928fd37d9295103c597860b9f51a4ff9946 (patch)
tree992c4b472878c86e27efa5f92ce77b01d1d516e1 /ftp/proftpd-devel/files
parentba56b4d43e26ce35f51db530f470664fd51bfaf2 (diff)
downloadports-9b9c3928fd37d9295103c597860b9f51a4ff9946.tar.gz
ports-9b9c3928fd37d9295103c597860b9f51a4ff9946.zip
Notes
Diffstat (limited to 'ftp/proftpd-devel/files')
-rw-r--r--ftp/proftpd-devel/files/proftpd.sh.sample18
1 files changed, 18 insertions, 0 deletions
diff --git a/ftp/proftpd-devel/files/proftpd.sh.sample b/ftp/proftpd-devel/files/proftpd.sh.sample
new file mode 100644
index 000000000000..d2598672f5e2
--- /dev/null
+++ b/ftp/proftpd-devel/files/proftpd.sh.sample
@@ -0,0 +1,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