summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-22 21:42:38 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-22 21:42:38 +0100
commit8038793924de69de826f519696b7dd79ed902f5d (patch)
tree68d33d9b05bb8f0504f39393c491c324ce465f8f
parenta5b3a558fda84bc1e10edbd023344cafe24731d0 (diff)
downloadalpine-conf-8038793924de69de826f519696b7dd79ed902f5d.zip
setup-interfaces: remove dead code
We use new style bridge configuration now
-rwxr-xr-xsetup-interfaces.in6
1 files changed, 0 insertions, 6 deletions
diff --git a/setup-interfaces.in b/setup-interfaces.in
index e5e7fc7..219b1ff 100755
--- a/setup-interfaces.in
+++ b/setup-interfaces.in
@@ -301,12 +301,6 @@ prompt_for_interfaces() {
&& echo -e "\tgateway $gateway" >> interfaces
;;
esac
- if [ -n "$bridge" ]; then
- echo -e "\tpost-down brctl delif $bridge $iface" >> interfaces
- echo -e "\tpost-down brctl delbr $bridge" >> interfaces
- fi
- echo "" >> interfaces
- bridge=""
done
while [ "$answer" != "yes" ] && [ "$answer" != "no" ] ; do