diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-02-21 03:16:43 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-02-21 03:16:43 +0000 |
commit | a2267bf92cf3863c4c30a0cf8f7fce03dc61b9cf (patch) | |
tree | 883b7593c6fc440cbf27552757e5f414f500dec8 /etc/rc | |
parent | f6bf5bccb2088cf285e54d9f313bf363eb362c00 (diff) | |
download | FreeBSD-src-a2267bf92cf3863c4c30a0cf8f7fce03dc61b9cf.zip FreeBSD-src-a2267bf92cf3863c4c30a0cf8f7fce03dc61b9cf.tar.gz |
Move ldconfig stuff to be after nfs mounts.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.16 1994/02/02 08:02:37 chmr Exp $ +# $Id: rc,v 1.17 1994/02/21 02:47:47 rgrimes Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -80,17 +80,6 @@ rm -f /var/spool/uucp/STST/* # don't add .[a-z]* to rm, because of .adjkerntz file (cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; }) -# Make shared lib searching a little faster. Leave /usr/lib first if you -# add your own entries or you may come to grief. -if [ -x /sbin/ldconfig ]; then - _LDC=/usr/lib - if [ -d /usr/X386/lib ]; then _LDC="${_LDC} /usr/X386/lib" ; fi - if [ -d /usr/local/lib ]; then _LDC="${_LDC} /usr/local/lib" ; fi - if [ -d /usr/gnu/lib ]; then _LDC="${_LDC} /usr/gnu/lib" ; fi - echo 'setting ldconfig path:' ${_LDC} - ldconfig ${_LDC} -fi - echo -n 'starting system logger' rm -f /dev/log syslogd @@ -212,6 +201,17 @@ echo '.' mount -a -t nfs >/dev/null 2>&1 & # XXX shouldn't need background +# Make shared lib searching a little faster. Leave /usr/lib first if you +# add your own entries or you may come to grief. +if [ -x /sbin/ldconfig ]; then + _LDC=/usr/lib + if [ -d /usr/X386/lib ]; then _LDC="${_LDC} /usr/X386/lib" ; fi + if [ -d /usr/local/lib ]; then _LDC="${_LDC} /usr/local/lib" ; fi + if [ -d /usr/gnu/lib ]; then _LDC="${_LDC} /usr/gnu/lib" ; fi + echo 'setting ldconfig path:' ${_LDC} + ldconfig ${_LDC} +fi + sh /etc/rc.local date |