projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e9ae5b8
)
nodev: shouldn't be in the ip file.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sun, 18 Mar 2007 22:02:22 +0000 (22:02 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sun, 18 Mar 2007 22:02:22 +0000 (22:02 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2517
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
scripts/vserver-setup.functions
patch
|
blob
|
history
diff --git
a/scripts/vserver-setup.functions
b/scripts/vserver-setup.functions
index
93084e4
..
0122b18
100644
(file)
--- a/
scripts/vserver-setup.functions
+++ b/
scripts/vserver-setup.functions
@@
-135,12
+135,12
@@
function _setup_writeInterface
local dev=${tmp%%:*}
local nodev=
test "$dev" != "$tmp" || dev=
+
+ tmp=${tmp##${dev}:}
test "$dev" != "nodev" || {
dev=
nodev=1
}
-
- tmp=${tmp##${dev}:}
local mask=${tmp##*/}
test "$mask" != "$tmp" || mask=