Server : Apache System : Linux enhance01.hostingraja.org 5.15.0-144-generic #157-Ubuntu SMP Mon Jun 16 07:33:10 UTC 2025 x86_64 User : webdemo_4 ( 4864) PHP Version : 7.4.33 Disable Function : NONE Directory : /usr/share/initramfs-tools/hooks/ |
Upload File : |
#!/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