projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't start update daemon; it's now internel to the kernel.
[unix-history]
/
etc
/
rc
diff --git
a/etc/rc
b/etc/rc
index
690cdd6
..
b2b581c
100644
(file)
--- a/
etc/rc
+++ b/
etc/rc
@@
-1,4
+1,6
@@
-# @(#)rc 5.27 (Berkeley) 6/5/91
+#!/bin/sh
+# $Id: rc,v 1.5 1993/11/24 05:17:14 rich Exp $
+# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
# or after single-user.
# System startup script run by init on autoboot
# or after single-user.
@@
-16,7
+18,7
@@
HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
-if [ -
r
/fastboot ]
+if [ -
e
/fastboot ]
then
echo Fast boot ... skipping disk checks
elif [ $1x = autobootx ]
then
echo Fast boot ... skipping disk checks
elif [ $1x = autobootx ]
@@
-73,6
+75,10
@@
rm -f /var/spool/uucp/LCK.*
rm -f /var/spool/uucp/STST/*
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
rm -f /var/spool/uucp/STST/*
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
+if [ -x /sbin/ldconfig ]; then
+ ldconfig /usr/X386/lib
+fi
+
echo -n 'starting system logger'
rm -f /dev/log
syslogd
echo -n 'starting system logger'
rm -f /dev/log
syslogd
@@
-124,7
+130,6
@@
echo clearing /tmp
# echo 'turning on accounting'; accton /var/account/acct
echo -n standard daemons:
# echo 'turning on accounting'; accton /var/account/acct
echo -n standard daemons:
-echo -n ' update'; update
echo -n ' crond'; /usr/libexec/crond
echo '.'
echo -n ' crond'; /usr/libexec/crond
echo '.'
@@
-151,15
+156,23
@@
fi
echo -n ' printer'; lpd
echo -n ' printer'; lpd
+# Portmapper should always be run, to provide RPC services for inetd.
+if [ -x /usr/sbin/portmap ]; then
+ echo -n ' portmap'; portmap
+fi
if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then
if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then
- echo -n ' portmap'; portmap
echo -n ' mountd'; mountd
echo -n ' nfsd'; nfsd -u 0,0,4 -t 0,0
echo -n ' nfsiod'; nfsiod 4
fi
echo -n ' mountd'; mountd
echo -n ' nfsd'; nfsd -u 0,0,4 -t 0,0
echo -n ' nfsiod'; nfsiod 4
fi
-echo -n ' sendmail'; sendmail -bd -q30m
+# $sendmail_flags is imported from /etc/netstart;
+# if $sendmail_flags is something other than NO, sendmail is run.
+if [ X${sendmail_flags} = X"NO" -a -r /etc/sendmail.cf ]; then
+ echo -n ' sendmail'; sendmail ${sendmail_flags}
+fi
+
echo -n ' inetd'; inetd
echo '.'
echo -n ' inetd'; inetd
echo '.'