Files
webgui/etc/rc.d/rc.loop
2023-10-04 19:15:49 +02:00

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