mirror of
https://github.com/unraid/webgui.git
synced 2025-12-30 22:20:23 -06:00
15 lines
259 B
Bash
Executable File
15 lines
259 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 &>/dev/null; then
|
|
if ! lsmod | grep -wq "^loop"; then
|
|
modprobe loop
|
|
fi
|
|
fi
|