/usr/share/tcos/scripts/tcos-bottom/57devices is in initramfs-tools-tcos 0.89.86.
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 | #!/bin/sh
#
if [ "$1" = "prereqs" ]; then
exit 0
fi
quiet=n
. /scripts/functions
. /conf/tcos.conf
. /conf/tcos-run-functions
. /bin/set-limits
# rewrite /etc/fstab from NFS
if [ "$(cat /tmp/less_ram)" != "0" ]; then
export NO_UDEV=1
/scripts/tcos-top/50fstab
unset NO_UDEV
fi
nodevices=$(read_cmdline_var "nodevices" "0")
if [ ${nodevices} = 1 ]; then
_log "Devices disabled from cmdline"
exit 0
fi
if [ ${TCOS_USB} ]; then
# load floppy from /lib/extramodules
[ -e /lib/extramodules/ide-floppy.ko ] && insmod /lib/extramodules/ide-floppy.ko &
[ -e /lib/extramodules/floppy.ko ] && insmod /lib/extramodules/floppy.ko &
MODULES="scsi_mod sd_mod sr_mod isofs vfat usbcore ehci-hcd ohci-hcd uhci-hcd usb-storage"
log_begin_msg "Loading usb modules"
for mod in ${MODULES}; do
_log "INITTCOS Loading module ${mod}"
modprobe -q $mod >> /tmp/initramfs.debug 2>&1 &
done
log_end_msg 0
else
_log "INITTCOS usb support disabled"
fi
# if break=ltspfs STOP here
maybe_break ltspfs
# DOCUMENTME noltspfs | disable ltspfs daemon
noltspfs=$(read_cmdline_var "noltspfs" "0")
if [ ${noltspfs} = 1 ]; then
_log "LTSPFS ltspfs disabled from cmdline"
exit 0
fi
###################################################
# http://wiki.ltsp.org/twiki/bin/view/Ltsp/LtspFS #
###################################################
if [ "$TCOS_REMOTEFS" = "ltspfs" ]; then
if [ -x "$(which ltspfsd)" ] ; then
# start ltspfsd daemon
log_begin_msg "Start ltspfs daemon"
_log "LTSPFS Starting ltspfs daemon"
ltspfsd
log_end_msg $?
fi
fi # end of TCOS_REMOTEFS=ltspfs
exit 0
|