Open morytyann opened 3 weeks ago
If you want to merge this, you will also need to merge https://github.com/hudra0/luci-app-qosmate/pull/7 .
Thank you for the refactor! However, adding qosmate.global.status in the config might be redundant, as it doesn’t actively represent the service’s real-time status.
Additionally:
Moving etc/init.d/qosmate to files/qosmate.init doesn’t seem like it follows OpenWrt conventions
The removal of the tc distribution files (for netem) might cause issues, as these settings may not be included in the build by default and could lead to non-functional configurations.
Could you clarify the intent behind some of these changes (also the ui changes)? It would help in understanding the potential impacts. Thank you!
Thanks for replying!
it doesn’t actively represent the service’s real-time status.
Yes! But we don't have any procd instances which we can get status, maybe we can get status by check if nftables table exists?
Moving etc/init.d/qosmate to files/qosmate.init doesn’t seem like it follows OpenWrt conventions
The removal of the tc distribution files (for netem) might cause issues, as these settings may not be included in the build by default and could lead to non-functional configurations.
Sorry for that, I take it for granted that tc-full provides these files, i will fix it.
As i said, the intent behind of changes is refactor with OpenWrt style:
Please remove unnecessary firewall4 dependency. It needs conntrack and dscp
Done.
qosmate.global.status
to show current statusqosmate.global.enabled
now works properlytc
libs because it already be depended inMakefile
Makefile