Commit aa790e1c authored by Leonardo Arena's avatar Leonardo Arena

testing/open-iscsi: init script busybox compatibility fix

parent 1577216a
# Copyright 1999-2008 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/www/,v 1.1 2009/11/12 09:29:48 robbat2 Exp $
opts="${opts} starttargets stoptargets restarttargets"
......@@ -37,7 +34,7 @@ do_modules() {
for m in ${modules}
if [ -n "$(modprobe -l | grep ${m})" ]
if [ -n "$(find /lib/modules/`uname -r` | grep ${m})" ]
ebegin "${msg} ${m}"
modprobe ${modopts} ${m}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment