Skip to content

Commit

Permalink
remove unnecessary wait from script
Browse files Browse the repository at this point in the history
  • Loading branch information
rickkatquanzadotnet committed Feb 17, 2023
1 parent face940 commit d107e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions files/usr/lib/sqm/nss-rk.qos
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################################
# nss-rk.qos (HW Accelerated Simple Traffic Shaper)
# version 20230217b
# version 20230217c
#
# sqm script to use the NSS accelerated nssfq_codel qdisc
#
Expand Down Expand Up @@ -122,11 +122,6 @@ ingress() {
sqm_debug "Adding the ingress qdisc.."
$TC qdisc add dev $DEV parent 1: handle 10: nssfq_codel `get_limit ${ILIMIT}` `get_flows ${IFLOWS}` `get_quantum ${IQUANTUM}` `get_target ${ITARGET} ${DOWNLINK}` ${IQDISC_OPTS} set_default

# I had a few crashes when I brought up the link immediately after
# not sure what the problem was but this seems to avoid it
sqm_debug "Sleeping before enabling the $DEV interface... "
sleep 2

sqm_debug "Enabling the $DEV ifb interface.."
$IP link set up $DEV

Expand Down
2 changes: 1 addition & 1 deletion openwrt/sqm-scripts-nss/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=sqm-scripts-nss
PKG_VERSION:=20230217b
PKG_VERSION:=20230217c
PKG_RELEASE:=1

include $(INCLUDE_DIR)/package.mk
Expand Down

0 comments on commit d107e6d

Please sign in to comment.