/usr/share/tcos/scripts/tcos-bottom/05inittcos 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 | #!/bin/sh
#
if [ "$1" = "prereqs" ]; then
exit 0
fi
quiet=n
. /scripts/functions
. /conf/tcos.conf
. /conf/tcos-run-functions
# if break=inittcos STOP here
maybe_break inittcos
# Loop over every line in /etc/modules.
# patch from Roberto IbaƱez
grep '^[^#]' /etc/modules | \
while read module args; do
[ "$module" ] || continue
modprobe "$module" "$args" >> /tmp/initramfs.debug 2>&1
done
# load modules
if [ -x /usr/bin/pcimodules ]; then
for mod in $(pcimodules) ; do
modprobe -s -k "$mod" >> /tmp/initramfs.debug 2>&1 &
done
fi
# detect Xorg kernel module and driver
# pcimodules --class 0x30000 --classmask 0xffff00 | grep -v fb$
if [ "$(which loadkeys)" ]; then
_log "INITTCOS loading keymap"
log_begin_msg "Loading default server keymap"
[ -e /etc/console/boottime.kmap.gz ] && loadkeys -q /etc/console/boottime.kmap.gz >> /tmp/initramfs.debug 2>&1 &
[ -e /etc/console-setup/cached.kmap.gz ] && loadkeys -q /etc/console-setup/cached.kmap.gz >> /tmp/initramfs.debug 2>&1 &
[ -e /etc/console-setup/boottime.kmap.gz ] && loadkeys -q /etc/console-setup/boottime.kmap.gz >> /tmp/initramfs.debug 2>&1 &
log_end_msg $?
else
_log "INITTCOS not loading default keymap"
fi
exit 0
|