From: Daniel Hokka Zakrisson Date: Sun, 18 Mar 2007 22:02:22 +0000 (+0000) Subject: nodev: shouldn't be in the ip file. X-Git-Tag: release-0.30.214~88 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0148b42d676f412342644f6834aee7ac2c61bf39;p=util-vserver.git nodev: shouldn't be in the ip file. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2517 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/scripts/vserver-setup.functions b/scripts/vserver-setup.functions index 93084e4..0122b18 100644 --- 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=