Skip to content

Commit

Permalink
Temp fix for netifd on 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Nov 18, 2023
1 parent 3743692 commit 9e6e378
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,13 @@ rm -rf feeds/${OMR_KERNEL}/luci/modules/luci-mod-network
[ -d feeds/${OMR_DIST}/luci-mod-status ] && rm -rf feeds/${OMR_KERNEL}/luci/modules/luci-mod-status
[ -d feeds/${OMR_DIST}/luci-app-statistics ] && rm -rf feeds/${OMR_KERNEL}/luci/applications/luci-app-statistics
#[ -d feeds/${OMR_DIST}/luci-proto-modemmanager ] && rm -rf feeds/${OMR_KERNEL}/luci/protocols/luci-proto-modemmanager
[ -d ${OMR_FEED}/netifd ] && rm -rf ${OMR_TARGET}/${OMR_KERNEL}/source/package/network/config/netifd
if [ -d ${OMR_FEED}/netifd ]; then
if [ "${OMR_KERNEL}" != "5.4" ]; then
rm -rf ${OMR_TARGET}/${OMR_KERNEL}/source/package/network/config/netifd
else
rm -rf ${OMR_FEED}/netifd
fi
fi
[ -d ${OMR_FEED}/iperf3 ] && rm -rf feeds/${OMR_KERNEL}/packages/net/iperf3
[ -d ${OMR_FEED}/golang ] && rm -rf feeds/${OMR_KERNEL}/packages/lang/golang
[ -d ${OMR_FEED}/openvpn ] && rm -rf feeds/${OMR_KERNEL}/packages/net/openvpn
Expand Down

0 comments on commit 9e6e378

Please sign in to comment.