Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
cbe31267
Unverified
Commit
cbe31267
authored
Dec 03, 2017
by
Pierre LALET
Committed by
Christian Brauner
Dec 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Insert missing "echo" after "is_enabled"
Signed-off-by:
Pierre LALET
<
pierre.lalet@cea.fr
>
parent
348f192d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lxc-checkconfig.in
src/lxc/tools/lxc-checkconfig.in
+4
-1
No files found.
src/lxc/tools/lxc-checkconfig.in
View file @
cbe31267
...
...
@@ -126,6 +126,7 @@ echo -n "Network namespace: " && is_enabled CONFIG_NET_NS
echo
if
([
$KVER_MAJOR
-lt
4
])
||
([
$KVER_MAJOR
-eq
4
]
&&
[
$KVER_MINOR
-lt
7
])
;
then
echo
-n
"Multiple /dev/pts instances: "
&&
is_enabled DEVPTS_MULTIPLE_INSTANCES
echo
fi
echo
...
...
@@ -170,6 +171,7 @@ if [ -f $CGROUP_MNT_PATH/cgroup.clone_children ]; then
$SETCOLOR_SUCCESS
&&
echo
"enabled"
&&
$SETCOLOR_NORMAL
else
echo
-n
"Cgroup namespace: "
&&
is_enabled CONFIG_CGROUP_NS
yes
echo
fi
echo
-n
"Cgroup device: "
&&
is_enabled CONFIG_CGROUP_DEVICE
...
...
@@ -212,6 +214,7 @@ echo
echo
-n
"CONFIG_IP6_NF_TARGET_MASQUERADE: "
&&
is_enabled CONFIG_IP6_NF_TARGET_MASQUERADE
&&
is_probed nf_nat_masquerade_ipv6
echo
echo
-n
"CONFIG_NETFILTER_XT_TARGET_CHECKSUM: "
&&
is_enabled CONFIG_NETFILTER_XT_TARGET_CHECKSUM
&&
is_probed xt_CHECKSUM
echo
echo
-n
"CONFIG_NETFILTER_XT_MATCH_COMMENT: "
&&
is_enabled CONFIG_NETFILTER_XT_MATCH_COMMENT
&&
is_probed xt_comment
echo
echo
-n
"FUSE (for use with lxcfs): "
&&
is_enabled CONFIG_FUSE_FS
&&
is_probed fuse
...
...
@@ -237,7 +240,7 @@ echo -n "CONFIG_NETLINK_DIAG: " && is_enabled CONFIG_NETLINK_DIAG
echo
echo
-n
"File capabilities: "
&&
\
(
[
"
${
KVER_MAJOR
}
"
=
2
]
&&
[
${
KVER_MINOR
}
-lt
33
]
&&
\
is_enabled CONFIG_SECURITY_FILE_CAPABILITIES
)
||
\
is_enabled CONFIG_SECURITY_FILE_CAPABILITIES
;
echo
)
||
\
(
(
[
"
${
KVER_MAJOR
}
"
=
"2"
]
&&
[
${
KVER_MINOR
}
-gt
32
]
)
||
\
[
${
KVER_MAJOR
}
-gt
2
]
&&
$SETCOLOR_SUCCESS
&&
\
echo
"enabled"
&&
$SETCOLOR_NORMAL
)
...
...
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