Drop support for macvtap

This has been broken because of other changes on the network scripts and
since we now have support for bridges there is no point in supporting
something else that has the same functionality.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Daniel Weismüller
2021-04-07 14:56:16 +00:00
committed by Michael Tremer
parent 39fbc945eb
commit 73476dd9dc
6 changed files with 5 additions and 25 deletions

View File

@@ -1,3 +1,4 @@
etc/collectd.conf
etc/rc.d/init.d/suricata
etc/sysctl.conf
lib/udev/network-hotplug-bridges

View File

@@ -62,6 +62,10 @@ rm -rfv \
# Reload sysctl.conf
sysctl -p
# Migrate any macvtap interfaces to bridge
sed -e "s/_MODE=macvtap/_MODE=bridge/g" \
-i /var/ipfire/ethernet/settings
# Start services
telinit u
/etc/init.d/suricata restart