/usr/share/initramfs-tools/scripts/init-top/runbootcdmodprobe is in bootcd 4.05.
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 | #!/bin/sh
# runbootcdmodprobe
VERSION=4.05
# See manpage initramfs-tools(8)
[ -f /scripts/functions ] && . /scripts/functions
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac
if [ "$(grep "\<bootcd=bootcd\>" /proc/cmdline)" ]; then
# we are not called from cd with option bootcd=bootcd
[ -x "/usr/share/bootcd/bootcdmodprobe" ] || panic "bootcdmodprobe not found"
log_begin_msg "Starting bootcdmodprobe"
/usr/share/bootcd/bootcdmodprobe
log_end_msg
fi
exit 0
|