diff options
Diffstat (limited to 'source/a/sysvinit-scripts/scripts/rc.loop')
-rw-r--r-- | source/a/sysvinit-scripts/scripts/rc.loop | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.loop b/source/a/sysvinit-scripts/scripts/rc.loop new file mode 100644 index 00000000..942fc544 --- /dev/null +++ b/source/a/sysvinit-scripts/scripts/rc.loop @@ -0,0 +1,11 @@ +#!/bin/sh +# +# 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 + |