summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc19
1 files changed, 17 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 1e67753..a8cc6de 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.67 1995/06/25 04:01:32 bde Exp $
+# $Id: rc,v 1.68 1995/07/20 16:26:25 wollman Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -209,7 +209,12 @@ if [ "X${rwhod}" = X"YES" ]; then
fi
if [ "X${nfs_server}" = X"YES" -a -r /etc/exports ]; then
- echo -n ' mountd'; mountd
+ echo -n ' mountd'
+ if [ "X${pcnfsd}" = X"YES" ]; then
+ mountd -n
+ else
+ mountd
+ fi
echo -n ' nfsd'; nfsd -u -t 4
fi
@@ -221,6 +226,16 @@ if [ "X${amdflags}" != X"NO" ]; then
echo -n ' amd'; amd ${amdflags}
fi
+# These should go elsewhere but netstart is too early and I don't
+# want to touch rc.local, so...
+if [ "X${pcnfsd}" = X"YES" -a -x /usr/local/libexec/rpc.pcnfsd ]; then
+ echo -n ' rpc.pcnfsd'; /usr/local/libexec/rpc.pcnfsd &
+fi
+
+if [ "X${apache_httpd}" = X"YES" -a -x /usr/local/www/server/httpd ]; then
+ echo -n ' apache httpd'; /usr/local/www/server/httpd &
+fi
+
# Kerberos runs ONLY on the Kerberos server machine
if [ "X${kerberos_server}" = X"YES" ]; then
echo -n ' kerberos'; kerberos >> /var/log/kerberos.log &
OpenPOWER on IntegriCloud