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
20fd2d53
Commit
20fd2d53
authored
Nov 01, 2011
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CentOS 6.0 support into functions.sh
parent
9e79025a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
functions.sh
etercifs/functions.sh
+6
-0
No files found.
etercifs/functions.sh
View file @
20fd2d53
...
...
@@ -109,6 +109,9 @@ check_for_centos()
elif
[
"
$N3
"
-gt
18
]
&&
[
"
$N3
"
-lt
23
]
;
then
echo
"Warning! Your kernel is newer than 2.6.18 and older than 2.6.23"
CENTOS
=
53
elif
[
"
$N3
"
-eq
32
]
;
then
echo
"Your kernel is 2.6.32-x.y"
CENTOS
=
60
else
echo
"Warning! Your kernel is older than 2.6.18 or newer than 2.6.23"
fi
...
...
@@ -130,6 +133,9 @@ detect_etercifs_sources()
if
[
-n
"
$OVZ_KERNEL
"
]
;
then
echo
"Building from legacy sources with patch for OpenVZ kernels 2.6.18-274.x from CentOS 5.7."
KERNEL_SOURCE_ETERCIFS_LINK
=
`
ls
-1
$ETERCIFS_SOURCES_LIST
|
grep
'centos-ovz'
|
sort
-r
|
head
-n
1
`
elif
[
"
$CENTOS
"
-eq
60
]
;
then
echo
"Building from legacy sources with patch for kernels 2.6.32-x.y from CentOS 6.0."
KERNEL_SOURCE_ETERCIFS_LINK
=
`
ls
-1
$ETERCIFS_SOURCES_LIST
|
grep
'centos60'
|
sort
-r
|
head
-n
1
`
elif
[
"
$CENTOS
"
-eq
57
]
;
then
# The same as CentOS 5.6
echo
"Building from legacy sources with patch for kernels 2.6.18-274.x from CentOS 5.7."
...
...
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