mirror of
https://github.com/unraid/webgui.git
synced 2026-03-01 05:41:08 -06:00
15 lines
271 B
Bash
Executable File
15 lines
271 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# script: rc.loop
|
|
#
|
|
# Load the loop device kernel module.
|
|
#
|
|
# LimeTech - modified for Unraid OS
|
|
# Bergware - modified for Unraid OS, October 2023
|
|
|
|
if modinfo loop 1>/dev/null 2>/dev/null; then
|
|
if ! lsmod | grep -wq "^loop"; then
|
|
modprobe loop
|
|
fi
|
|
fi
|