diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-05-24 18:00:06 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-05-24 18:00:06 +0000 |
commit | 5702d37be2acc9ae5e29b0c555067870241fc3b6 (patch) | |
tree | 29f71197750bc055d6b922e0a9d866ec0b021591 /etc/rc | |
parent | 307a36ae6cc0219b9923f7169597b82827342378 (diff) |
Add shlib_dirs variable so users can add to the directories cached
in /var/run/ld.so.hints
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.96 1999/04/21 20:18:02 alex Exp $ +# $OpenBSD: rc,v 1.97 1999/05/24 18:00:05 millert Exp $ # System startup script run by init on autoboot # or after single-user. @@ -441,14 +441,13 @@ fi if [ -f /sbin/ldconfig ]; then echo 'creating runtime link editor directory cache.' - _LIBS= if [ -d /usr/local/lib ]; then - _LIBS="$_LIBS /usr/local/lib" + shlib_dirs=="$shlib_dirs /usr/local/lib" fi if [ -d /usr/X11R6/lib ]; then - _LIBS="$_LIBS /usr/X11R6/lib" + shlib_dirs=="$shlib_dirs /usr/X11R6/lib" fi - ldconfig $_LIBS + ldconfig $shlib_dirs fi # Kerberos runs ONLY on the Kerberos servers |