![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /usr/share/initramfs-tools/hooks/ |
#!/bin/sh -e # Copy the compatibility symlinks until initramfs-tools will be converted # to use the kmod program. if [ "$1" = "prereqs" ]; then exit 0; fi . /usr/share/initramfs-tools/hook-functions copy_exec /bin/kmod cp -aZ /sbin/modprobe /sbin/rmmod "$DESTDIR/sbin/" mkdir -p "$DESTDIR/lib/modprobe.d/" if [ "$(echo /lib/modprobe.d/*)" != "/lib/modprobe.d/*" ]; then cp -aZ /lib/modprobe.d/* "$DESTDIR/lib/modprobe.d/" fi