summaryrefslogtreecommitdiff
path: root/security/pks
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-02-05 06:04:36 +0000
committerjlam <jlam@pkgsrc.org>2002-02-05 06:04:36 +0000
commite0d358778b0df3dd6eda22a878f91c1517d291dd (patch)
tree910b301d9e99bea4118f547f996c86cbedac39fc /security/pks
parentd0529c736bda8009b0db6b89eaea48137d0c92ec (diff)
downloadpkgsrc-e0d358778b0df3dd6eda22a878f91c1517d291dd.tar.gz
Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
Diffstat (limited to 'security/pks')
-rw-r--r--security/pks/files/pksd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/pks/files/pksd.sh b/security/pks/files/pksd.sh
index f584ab0708d..3f7c5239bd9 100644
--- a/security/pks/files/pksd.sh
+++ b/security/pks/files/pksd.sh
@@ -1,11 +1,11 @@
#!/bin/sh
#
-# $NetBSD: pksd.sh,v 1.5 2001/11/26 07:34:06 jlam Exp $
+# $NetBSD: pksd.sh,v 1.6 2002/02/05 06:04:41 jlam Exp $
#
# PROVIDE: pksd
# REQUIRE: DAEMON
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
@@ -67,7 +67,7 @@ start_precmd=pksd_dbinit
start_cmd=pksd_start
stop_cmd=pksd_stop
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"