mirror of
https://github.com/unraid/webgui.git
synced 2026-01-07 01:59:52 -06:00
12 lines
170 B
Bash
Executable File
12 lines
170 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Load the loop device kernel module.
|
|
#
|
|
|
|
if modinfo loop 1> /dev/null 2> /dev/null ; then
|
|
if ! lsmod | grep -wq "^loop" ; then
|
|
modprobe loop
|
|
fi
|
|
fi
|
|
|