summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc9
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 61e8c624233..ea1bfa0b8c0 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.55 1997/11/19 23:44:21 deraadt Exp $
+# $OpenBSD: rc,v 1.56 1997/11/23 11:54:16 maja Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -352,6 +352,13 @@ if [ "X${rbootd_flags}" != X"NO" -a -r /etc/rbootd.conf ]; then
echo -n ' rbootd'; rbootd ${rbootd_flags}
fi
+# $mopd_flags is imported from /etc/rc.conf;
+# If $mopd_flags == NO or /tftpboot/mop doesn't exist, then
+# mopd isn't run.
+if [ "X${mopd_flags}" != X"NO" -a -d /tftpboot/mop ]; then
+ echo -n ' mopd'; mopd ${mopd_flags}
+fi
+
if [ -x /usr/sbin/screenblank ]; then
echo -n ' screenblank'; /usr/sbin/screenblank
fi