Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
7394f47f
Commit
7394f47f
authored
Jun 28, 2010
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add testing support for new kernels
parent
9376f223
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
functions.sh
etercifs/functions.sh
+11
-1
No files found.
etercifs/functions.sh
View file @
7394f47f
...
...
@@ -123,7 +123,17 @@ detect_etercifs_sources()
fi
# end of CentOS-RHEL specific part
[
-f
"
$KERNEL_SOURCE_ETERCIFS_LINK
"
]
||
fatal
"Etercifs kernel module sources for current kernel does not installed!"
if
[
-z
"
$KERNEL_SOURCE_ETERCIFS_LINK
"
]
;
then
ETERCIFS_SOURCES_LIST
=
$DATADIR
/sources/kernel-source-etercifs-2
*
KERNEL_SOURCE_ETERCIFS_LINK
=
`
ls
-1
$ETERCIFS_SOURCES_LIST
|
sort
-r
|
head
-n
1
`
OLD_IFS
=
$IFS
IFS
=
"-"
set
--
$KERNEL_SOURCE_ETERCIFS_LINK
echo
"Warning: using the lates supported sources (
$4
) that is not for current kernel version!"
IFS
=
$OLD_IFS
ETERCIFS_SOURCES_LIST
=
$DATADIR
/sources/kernel-source-etercifs
*
fi
KERNEL_SOURCE_ETERCIFS
=
`
readlink
-f
$KERNEL_SOURCE_ETERCIFS_LINK
`
[
"
$KERNEL_SOURCE_ETERCIFS
"
]
||
fatal
"Etercifs kernel module sources for current kernel does not installed!"
}
...
...
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