summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDevin Carlen <devcamcar@illian.local>2010-06-29 21:25:39 -0500
committerJesse Andrews <anotherjesse@gmail.com>2010-06-29 21:25:39 -0500
commit5a1f5839b8850e32dbdd2a74f6176f37a3e36254 (patch)
tree35d8df8a04a558226d7888a423f99131688acea6 /tools
parent18abcde86b524278f1b8275496d5fe26c6368805 (diff)
Updated licenses
Diffstat (limited to 'tools')
-rwxr-xr-xtools/clean-vlans19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/clean-vlans b/tools/clean-vlans
index 39010ba1d..7e4f5e538 100755
--- a/tools/clean-vlans
+++ b/tools/clean-vlans
@@ -1,4 +1,23 @@
#!/usr/bin/env bash
+# vim: tabstop=4 shiftwidth=4 softtabstop=4
+
+# Copyright 2010 United States Government as represented by the
+# Administrator of the National Aeronautics and Space Administration.
+# All Rights Reserved.
+#
+# Copyright 2010 Anso Labs, LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
sudo ifconfig -a | grep br | grep -v bridge | cut -f1 -d" " | xargs -n1 -ifoo ifconfig foo down
sudo ifconfig -a | grep br | grep -v bridge | cut -f1 -d" " | xargs -n1 -ifoo brctl delbr foo