diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2000-07-18 03:20:08 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2000-07-18 03:20:08 +0000 |
commit | ad3c55ffddb1d80708e5024a0699765d902db2be (patch) | |
tree | 97b6237b254441c56382a23b7ce44211c66d2b31 /security/cfs/files | |
parent | 463306f7e24a953ab96039837e502b1c70ca4967 (diff) | |
download | ports-ad3c55ffddb1d80708e5024a0699765d902db2be.tar.gz ports-ad3c55ffddb1d80708e5024a0699765d902db2be.zip |
Use new style start/stop rc.d script
Unrestrict port since we are able to distribute crypto
Notes
Notes:
svn path=/head/; revision=30764
Diffstat (limited to 'security/cfs/files')
-rw-r--r-- | security/cfs/files/cfsd.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/cfs/files/cfsd.sh b/security/cfs/files/cfsd.sh new file mode 100644 index 000000000000..488962b97f43 --- /dev/null +++ b/security/cfs/files/cfsd.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then + echo "$0: Cannot determine the PREFIX" >&2 + exit 1 +fi + +case "$1" in +start) + [ -x ${PREFIX}/sbin/cfsd ] && ${PREFIX}/sbin/cfsd > /dev/null 2>&1 && echo -n ' cfsd' + ;; +stop) + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 |