slackware-current/source/a/sysvinit-scripts/scripts/rc.loop

12 lines
170 B
Text
Raw Normal View History

#!/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