Files
webgui/etc/rc.d/rc.loop

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