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
eeb80428
Commit
eeb80428
authored
May 20, 2014
by
ChangZhuo Chen (陳昌倬)
Committed by
Stéphane Graber
May 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-devsetup: Don't use [[ because sh does not support it
Signed-off-by:
ChangZhuo Chen (陳昌倬)
<
czchen@gmail.com
>
Acked-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
11ef0233
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lxc-devsetup
config/init/systemd/lxc-devsetup
+2
-2
No files found.
config/init/systemd/lxc-devsetup
View file @
eeb80428
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# lxc.devsetup - Setup host /dev for container /dev subdirectories.
# lxc.devsetup - Setup host /dev for container /dev subdirectories.
if
[
[
!
-d
/dev/.lxc
]
]
if
[
!
-d
/dev/.lxc
]
then
then
echo
"Creating /dev/.lxc"
echo
"Creating /dev/.lxc"
mkdir
/dev/.lxc
mkdir
/dev/.lxc
...
@@ -17,7 +17,7 @@ else
...
@@ -17,7 +17,7 @@ else
mount
-t
tmpfs tmpfs /dev/.lxc
mount
-t
tmpfs tmpfs /dev/.lxc
fi
fi
if
[
[
!
-d
/dev/.lxc/user
]
]
if
[
!
-d
/dev/.lxc/user
]
then
then
echo
"Creating /dev/.lxc/user"
echo
"Creating /dev/.lxc/user"
mkdir
/dev/.lxc/user
mkdir
/dev/.lxc/user
...
...
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