Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/Create-NewReleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:

# 7--- Publish a GitHub Release with auto-generated notes
- name: Create Release with Automated Release Notes
uses: softprops/action-gh-release@v2.3.2
uses: softprops/action-gh-release@v2.3.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.nextver.outputs.tag }}
Expand Down
3 changes: 3 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.5.2 (30-Sep-2025)
- FIXED: A bug caused FlexQoS to fail the startup sequenece if the router rebooted while a QoS schedule had QoS disabled.

v1.5.1 (06-Sep-2025)
- FIXED: Properly compare version by using arithmetic conversion
- FIXED: Fixed new schedule keeping Flow Cache disabled when disabling QoS
Expand Down
19 changes: 11 additions & 8 deletions flexqos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# Contributors: @maghuro
# shellcheck disable=SC1090,SC1091,SC2039,SC2154,SC3043
# amtm NoMD5check
version=1.5.1
release=2025-09-06
version=1.5.2
release=2025-09-27
# Forked from FreshJR_QOS v8.8, written by FreshJR07 https://github.com/FreshJR07/FreshJR_QOS
# License
# FlexQoS is free to use under the GNU General Public License, version 3 (GPL-3.0).
Expand Down Expand Up @@ -2275,12 +2275,7 @@ startup() {
install_webui mount
generate_bwdpi_arrays
get_config
qos_schedule_apply_from_config
if [ "$(nvram get qos_enable)" = "1" ]; then
_fc_apply_policy on
else
_fc_apply_policy off
fi
_fc_apply_policy on
_flush_conntrack_

cru d "${SCRIPTNAME}"_5min 2>/dev/null
Expand Down Expand Up @@ -2330,6 +2325,12 @@ startup() {
else
logmsg "No TC modifications necessary"
fi

qos_schedule_apply_from_config
if [ "$(nvram get qos_enable)" != "1" ]; then
_fc_apply_policy off
_flush_conntrack_
fi
} # startup

show_help() {
Expand Down Expand Up @@ -2464,6 +2465,8 @@ needrestart=0 # initialize variable used in prompt_restart()
case "${arg1}" in
'start'|'check')
logmsg "$0 (pid=$$) called in ${mode} mode with $# args: $*"
SCHEDULE="$(am_settings_get "${SCRIPTNAME}"_schedule)"
if [ -n "$SCHEDULE" ]; then qos_start; fi
startup
;;
'appdb')
Expand Down