git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1489
94cd875c-1c1d-0410-91d2-
eb244daf1a30
test "$ip" || { echo $"Can not read ip for '$iface'" >&2; return 1; }
- test ! -e "$iface"/only_ip || {
- ## LEGACY ALERT
- echo $"The 'only_ip' flag for interface '$iface' is deprecated; use 'nodev' instead of" >&2
- unset dev
- }
test ! -e "$iface"/down || up=
while test "$dev"; do
INTERFACES=( "${INTERFACES[@]}" "$ip${prefix:+/$prefix}" )
test ! -e "$iface"/nodev || break
+ test ! -e "$iface"/only_ip || {
+ ## LEGACY ALERT
+ echo $"The 'only_ip' flag for interface '$iface' is deprecated; use 'nodev' instead of" >&2
+ break
+ }
case "$dev" in
(*.*)