aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVáclav Pavlín <vpavlin@redhat.com>2013-01-22 10:42:17 +0100
committerVáclav Pavlín <vpavlin@redhat.com>2013-01-22 10:47:08 +0100
commit8f32a3743a13cc7cf45ca31705d104285e6e78c7 (patch)
tree11e15d6bbf8e5ae6f349d72d8681d31c727ffc6b
parent87d60f87d68ddf8ea214dbbcc072ef4097680b6c (diff)
downloadinitscripts-8f32a3743a13cc7cf45ca31705d104285e6e78c7.tar
initscripts-8f32a3743a13cc7cf45ca31705d104285e6e78c7.tar.gz
initscripts-8f32a3743a13cc7cf45ca31705d104285e6e78c7.tar.bz2
initscripts-8f32a3743a13cc7cf45ca31705d104285e6e78c7.tar.xz
initscripts-8f32a3743a13cc7cf45ca31705d104285e6e78c7.zip
Clear DEVICE and TYPE variables after using them in cycle (#902463)
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 9a6517a3..62a344de 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -222,6 +222,8 @@ case "$1" in
fi
remaining="$remaining $i"
done
+
+ unset DEVICE TYPE
for i in $vpninterfaces $xdslinterfaces $bridgeinterfaces $vlaninterfaces $remaining; do
(. ./ifcfg-$i