diff options
author | Václav Pavlín <vpavlin@redhat.com> | 2013-01-22 10:42:17 +0100 |
---|---|---|
committer | Václav Pavlín <vpavlin@redhat.com> | 2013-01-22 10:47:08 +0100 |
commit | 8f32a3743a13cc7cf45ca31705d104285e6e78c7 (patch) | |
tree | 11e15d6bbf8e5ae6f349d72d8681d31c727ffc6b /rc.d/init.d/network | |
parent | 87d60f87d68ddf8ea214dbbcc072ef4097680b6c (diff) | |
download | initscripts-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)
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 2 |
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 |