summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-09-02 14:49:26 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-09-02 14:49:26 +0000
commit4ad84147fa6c8555fcf0b555d3869b48a880c3c4 (patch)
tree26208bc6291deac96ac2768997b74d1b1d44f74e /etc/rc
parent587764ad48917fb79bf07894ebebc78ad7d9667e (diff)
The /etc/photurisd directory is created by /usr/src/Makefile's "beforeinstall"
target. It does not represent a desire to run photurisd. Changed photurisd startup to look for /etc/photurisd/photurisd.conf file.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 5c3d9dd515e..a6add907ba4 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.44 1997/08/25 20:50:38 millert Exp $
+# $OpenBSD: rc,v 1.45 1997/09/02 14:49:25 kstailey Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -101,9 +101,9 @@ if [ X"${rfc1323}" = X"NO" ]; then
fi
# $photurisd_flags is imported from /etc/netstart;
-# If $photurisd_flags == NO or /etc/photuris/ doesn't exist, then
+# If $photurisd_flags == NO or /etc/photuris/photuris.conf doesn't exist, then
# photurisd isn't run.
-if [ "X${photurisd_flags}" != X"NO" -a -d /etc/photuris ]; then
+if [ "X${photurisd_flags}" != X"NO" -a -e /etc/photuris/photuris.conf ]; then
echo 'starting photurisd'; photurisd ${photurisd_flags}
fi