Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
29 lines
391 B
Bash
Executable File
29 lines
391 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
START=50
|
|
USE_PROCD=1
|
|
|
|
validate_qos_section()
|
|
{
|
|
uci_validate_section qos interface "${1}" \
|
|
'enabled:bool' \
|
|
'upload:uinteger' \
|
|
'download:uinteger'
|
|
}
|
|
|
|
service_triggers()
|
|
{
|
|
procd_add_reload_trigger "qos"
|
|
procd_add_validation validate_qos_section
|
|
qos-start
|
|
}
|
|
|
|
start_service() {
|
|
qos-start
|
|
}
|
|
|
|
reload_service() {
|
|
qos-start
|
|
}
|