diff options
author | Koen Kooi <koen@openembedded.org> | 2008-10-31 11:57:54 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-10-31 11:57:54 +0100 |
commit | 6628886e858d77a8f9f94dd3229143e144d39f0e (patch) | |
tree | 74feafd576e422fdd303b186661e5c6f35f44831 /packages/initscripts/initscripts-1.0/bootmisc.sh | |
parent | d00e1cb3d100ad9b528e72394a6d5440f06ed35c (diff) |
initscripts: only run ldconfig on boot when ld.so.conf is present
Diffstat (limited to 'packages/initscripts/initscripts-1.0/bootmisc.sh')
-rwxr-xr-x | packages/initscripts/initscripts-1.0/bootmisc.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/initscripts/initscripts-1.0/bootmisc.sh b/packages/initscripts/initscripts-1.0/bootmisc.sh index 2a40e0c410..dde1209be5 100755 --- a/packages/initscripts/initscripts-1.0/bootmisc.sh +++ b/packages/initscripts/initscripts-1.0/bootmisc.sh @@ -57,9 +57,11 @@ then fi # -# Update dynamic library cache +# Update dynamic library cache, but only if ld.so.conf is present # -/sbin/ldconfig +if [ -e /etc/ld.so.conf ] ; then + /sbin/ldconfig +fi # Set the system clock from hardware clock # If the timestamp is 1 day or more recent than the current time, |