diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1997-07-22 10:02:48 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1997-07-22 10:02:48 +0000 |
commit | 683676071cbf619d5d92df71c73f816474fd8658 (patch) | |
tree | 5a2682cee92842c8139064cec84b7e7dadc4a03d /etc/rc | |
parent | e32a357adecc7235018c4b6c67a106bb4f815941 (diff) |
start the photuris daemon per default. hilfe.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.37 1997/06/20 13:01:34 deraadt Exp $ +# $OpenBSD: rc,v 1.38 1997/07/22 10:02:47 provos Exp $ # System startup script run by init on autoboot # or after single-user. @@ -312,6 +312,13 @@ if [ "X${rbootd_flags}" != X"NO" -a -r /etc/rbootd.conf ]; then echo -n ' rbootd'; rbootd ${rbootd_flags} fi +# $photurisd_flags is imported from /etc/netstart; +# If $photurisd_flags == NO or /etc/photuris/ doesn't exist, then +# photurisd isn't run. +if [ "X${photurisd_flags}" != X"NO" -a -d /etc/photuris ]; then + echo -n ' photurisd'; photurisd ${photurisd_flags} +fi + if [ -x /usr/sbin/screenblank ]; then echo -n ' screenblank'; /usr/sbin/screenblank fi |