Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
647
Issues
647
List
Boards
Labels
Service Desk
Milestones
Merge Requests
208
Merge Requests
208
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
aa790e1c
Commit
aa790e1c
authored
Apr 23, 2010
by
Leonardo Arena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/open-iscsi: init script busybox compatibility fix
parent
1577216a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
testing/open-iscsi/iscsid.initd
testing/open-iscsi/iscsid.initd
+1
-4
No files found.
testing/open-iscsi/iscsid
-2.0.871-r1.init.
d
→
testing/open-iscsi/iscsid
.init
d
View file @
aa790e1c
#!/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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment