summaryrefslogtreecommitdiff
path: root/security/sfs
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-03-25 15:51:50 +0000
committergrant <grant@pkgsrc.org>2003-03-25 15:51:50 +0000
commit27ac8ca77ccd4fd73577ac00f65b98ab335eb3a8 (patch)
tree133d2751f38759269671677a62a90549beee6e1d /security/sfs
parent36f9d769e6da17e30ffd1a3b368bb7555a1cc3a1 (diff)
downloadpkgsrc-27ac8ca77ccd4fd73577ac00f65b98ab335eb3a8.tar.gz
use RCD_SCRIPTS.
Diffstat (limited to 'security/sfs')
-rw-r--r--security/sfs/Makefile10
-rw-r--r--security/sfs/files/sfscd.sh (renamed from security/sfs/files/sfscd)5
-rw-r--r--security/sfs/files/sfssd.sh (renamed from security/sfs/files/sfssd)5
3 files changed, 9 insertions, 11 deletions
diff --git a/security/sfs/Makefile b/security/sfs/Makefile
index 7486876c719..f3d107a6579 100644
--- a/security/sfs/Makefile
+++ b/security/sfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/03/25 06:45:00 lukem Exp $
+# $NetBSD: Makefile,v 1.4 2003/03/25 15:51:50 grant Exp $
#
DISTNAME= sfs-0.7.2
@@ -28,6 +28,8 @@ PKG_USERS= sfs:sfs::Self-certifying\\ file\\ system:/
PKG_GROUPS= sfs
PKG_SYSCONFSUBDIR= sfs
+RCD_SCRIPTS= sfscd sfssd
+
.include "../../mk/bsd.prefs.mk"
SFSDIR?= /var/sfs
@@ -42,12 +44,6 @@ MESSAGE_SUBST+= SFSDIR=${SFS_ROOT} SFSEXAMPLEDIR=${SFSEXAMPLEDIR}
INFO_FILES= sfs.info
post-install:
- @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/sfscd \
- > ${PREFIX}/etc/rc.d/sfscd
- @${CHMOD} +x ${PREFIX}/etc/rc.d/sfscd
- @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/sfssd \
- > ${PREFIX}/etc/rc.d/sfssd
- @${CHMOD} +x ${PREFIX}/etc/rc.d/sfssd
${INSTALL_DATA_DIR} ${SFSEXAMPLEDIR}
@${SED} -e 's|@SFSDIR@|${SFS_ROOT}|g' ${FILESDIR}/sfsrwsd_config.sample \
> ${SFSEXAMPLEDIR}/sfsrwsd_config.sample
diff --git a/security/sfs/files/sfscd b/security/sfs/files/sfscd.sh
index 77da99f9162..ae80be48fe4 100644
--- a/security/sfs/files/sfscd
+++ b/security/sfs/files/sfscd.sh
@@ -1,5 +1,6 @@
-#!/bin/sh
-# $NetBSD: sfscd,v 1.2 2003/03/25 06:45:01 lukem Exp $
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: sfscd.sh,v 1.1 2003/03/25 15:51:51 grant Exp $
#
# start script for SFS client daemon
diff --git a/security/sfs/files/sfssd b/security/sfs/files/sfssd.sh
index 0c7b7168b75..71affc58254 100644
--- a/security/sfs/files/sfssd
+++ b/security/sfs/files/sfssd.sh
@@ -1,5 +1,6 @@
-#!/bin/sh
-# $NetBSD: sfssd,v 1.2 2003/03/25 06:45:01 lukem Exp $
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: sfssd.sh,v 1.1 2003/03/25 15:51:51 grant Exp $
#
# start script for SFS server daemon