mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
qosmngr: fix default queue config generation
In case there is a valid config in the uci file, the script should do nothing.
This commit is contained in:
parent
158f1d94a6
commit
9745a16694
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ generate_queue(){
|
|||
if [ -s "/etc/config/qos" ]; then
|
||||
if uci -q get qos.@queue[0] >/dev/null; then
|
||||
# return if there is any valid content
|
||||
return 0
|
||||
exit
|
||||
else
|
||||
rm -f /etc/config/qos
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue