diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-04-23 13:04:25 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-04-23 13:04:25 +0000 |
commit | aa790e1c40c36c106884182c9fe15dabad77177d (patch) | |
tree | 4b4137e558b289b631484331b5a8ac053a314de1 /testing/open-iscsi | |
parent | 1577216ae207699aa26a1aebd349da99764bf6f1 (diff) | |
download | aports-aa790e1c40c36c106884182c9fe15dabad77177d.tar.bz2 aports-aa790e1c40c36c106884182c9fe15dabad77177d.tar.xz |
testing/open-iscsi: init script busybox compatibility fix
Diffstat (limited to 'testing/open-iscsi')
-rw-r--r-- | testing/open-iscsi/iscsid.initd (renamed from testing/open-iscsi/iscsid-2.0.871-r1.init.d) | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testing/open-iscsi/iscsid-2.0.871-r1.init.d b/testing/open-iscsi/iscsid.initd index 060eb9b59..572b0a6ae 100644 --- a/testing/open-iscsi/iscsid-2.0.871-r1.init.d +++ b/testing/open-iscsi/iscsid.initd @@ -1,7 +1,4 @@ #!/sbin/runscript -# Copyright 1999-2008 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/sys-block/open-iscsi/files/iscsid-2.0.871-r1.init.d,v 1.1 2009/11/12 09:29:48 robbat2 Exp $ opts="${opts} starttargets stoptargets restarttargets" @@ -37,7 +34,7 @@ do_modules() { modopts="$@" for m in ${modules} do - if [ -n "$(modprobe -l | grep ${m})" ] + if [ -n "$(find /lib/modules/`uname -r` | grep ${m})" ] then ebegin "${msg} ${m}" modprobe ${modopts} ${m} |