packages/net/sqm-scripts/files/luci-app-sqm.defaults
Yousong Zhou db8fa4b326 sqm-scripts: luci-app-sqm: init ucitrack with uci-defaults
To avoid build failure when luci-app-sqm is selected as builtin where
the ipk will be installed on build machine

While at it, switch to using $(MAKE) instead of plain "make"

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-01 13:53:19 +08:00

8 lines
186 B
Bash

#!/bin/sh
uci -q get ucitrack.@sqm[0] >/dev/null || {
uci add ucitrack sqm > /dev/null
uci set ucitrack.@sqm[0].init=sqm
uci add_list ucitrack.@firewall[0].affects=sqm
uci commit
}