Skip to content
Snippets Groups Projects
Verified Commit 88b365e6 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

Merge branch 'hotfix/mox-ifaces' into develop

parents 87fcb7e4 28f0a7b3
Branches
Tags
1 merge request!697Turris OS 5.2 merge
......@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=fix
PKG_VERSION:=1
PKG_RELEASE:=2
PKG_RELEASE:=1
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
......@@ -106,6 +106,13 @@ define Package/fix-config-foris-restore/description
fix package is to restore latest non-empty version from snapshots.
endef
define Package/fix-all-lan-ports-in-lan/description
There is a typo in first generation of Turris Shield that renders one LAN
port unusable. We noticed this really late, but as Shield doesn't support
manual interface assignements, it is safe to assume that all ports on
switch should be part of LAN network.
endef
$(eval $(call FIX,sentinel-remove-invalid-firewall-rules,+firewall +uci))
$(eval $(call FIX,samba-migrate-to-samba4,+samba4-server +uci))
$(eval $(call FIX,updater-v65.0-alternatives-update,+updater-ng +uci,prerm))
......@@ -114,3 +121,4 @@ $(eval $(call FIX,pkglists-options,+pkglists))
$(eval $(call FIX,uboot-env-reset))
$(eval $(call FIX,updater-rm-log,+updater-ng))
$(eval $(call FIX,config-foris-restore,+foris-controller +schnapps))
$(eval $(call FIX,all-lan-ports-in-lan,+uci +netifd))
#!/bin/sh
cd /sys/class/net
uci delete network.lan.ifname
for interface in lan*; do
uci add_list "network.lan.ifname=$interface"
done
uci commit network.lan.ifname
/etc/init.d/network reload
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment