This file is indexed.

/usr/share/tcos/scripts/tcos-bottom/10ldconfig is in initramfs-tools-tcos 0.89.93ubuntu2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/bin/sh
# 
if [ "$1" = "prereqs" ]; then
  exit 0
fi

quiet=n

. /scripts/functions
# if break=ldconfig STOP here
maybe_break ldconfig


. /conf/tcos.conf
. /conf/tcos-run-functions


# update lib cache
log_begin_msg "Updating lib cache"
 /usr/sbin/ldconfig >> /tmp/initramfs.debug 2>&1 &
log_end_msg $?

# needed for ssh login
grep ^export /conf/tcos.conf > /root/.profile

# mount /dev/shm
# if not mounted
# this causes to break browsers and italc
mkdir -p /dev/shm
mount -t tmpfs shmfs /dev/shm >>/tmp/initramfs.debug 2>&1

# italc 1.0.0 new version
if [ -x /sbin/startica ]; then
  ln -s /sbin/startica /sbin/startivs
fi


if [ -z "$(which Xorg)" ]; then
  _log "LDCONFIG Xorg not found"
  log_failure_msg "Xorg not found"
  log_end_msg 1
  exit 0
fi



 _log "LDCONFIG Updating links in Xorg 7.x mode"
 [ ! -e /usr/lib/libGLcore.so.1 -a -e /usr/lib/libGLcore.so ] && ln -sf /usr/lib/libGLcore.so /usr/lib/libGLcore.so.1
 [ ! -e /usr/lib/libGL.so.1 -a -e /usr/lib/libGL.so.1.2 ] && ln -sf /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
 [ ! -e /usr/lib/libGL.so -a -e /usr/lib/libGL.so.1 ] && ln -sf /usr/lib/libGL.so.1 /usr/lib/libGL.so
 [ ! -e /usr/lib/libGLU.so.1 -a -e /usr/lib/libGLU.so ] && ln -sf /usr/lib/libGLU.so /usr/lib/libGLU.so.1
 mkdir -p /usr/share/X11/
 ln -s /etc/X11/rgb.txt /usr/share/X11/rgb.txt
 ln -s /usr/share/X11/xkb /etc/X11/xkb
 mkdir -p /usr/X11R6 >> /tmp/initramfs.debug 2>&1
 ln -s /usr/bin /usr/X11R6/bin >> /tmp/initramfs.debug 2>&1

 mkdir -p /var/lib/xkb
 ln -s /var/lib/xkb     /etc/X11/xkb/compiled
 ln -s /usr/bin/xkbcomp /etc/X11/xkb/xkbcomp

 # make links in keymap rules
    [ ! -e /usr/share/X11/xkb/rules/xfree86 ] &&\
	 ln -s /usr/share/X11/xkb/rules/base /usr/share/X11/xkb/rules/xfree86
    [ ! -e /usr/share/X11/xkb/rules/xfree86.lst ] &&\
	 ln -s /usr/share/X11/xkb/rules/base.lst /usr/share/X11/xkb/rules/xfree86.lst
    [ ! -e /usr/share/X11/xkb/rules/xfree86.xml ] &&\
	 ln -s /usr/share/X11/xkb/rules/base.xml /usr/share/X11/xkb/rules/xfree86.xml

    [ ! -e /usr/share/X11/xkb/rules/xorg ] &&\
	 ln -s /usr/share/X11/xkb/rules/base /usr/share/X11/xkb/rules/xorg
    [ ! -e /usr/share/X11/xkb/rules/xorg.lst ] &&\
	 ln -s /usr/share/X11/xkb/rules/base.lst /usr/share/X11/xkb/rules/xorg.lst
    [ ! -e /usr/share/X11/xkb/rules/xorg.xml ] &&\
	 ln -s /usr/share/X11/xkb/rules/base.xml /usr/share/X11/xkb/rules/xorg.xml


exit 0