From patchwork Mon Oct 21 18:45:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2539 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 46xlvv2D5kz43Sp for ; Mon, 21 Oct 2019 18:46:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 46xlvs2D4Sz4FN; Mon, 21 Oct 2019 18:46:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 46xlvs028mz2ycd; Mon, 21 Oct 2019 18:46:01 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 46xlvp2MYNz2xll for ; Mon, 21 Oct 2019 18:45:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 46xlvn6xYdz4Dw; Mon, 21 Oct 2019 18:45:57 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1571683558; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YEPM5QMqvpXywPsKlqBtGtR5yKAWreOCiSXwMANhIFo=; b=eoYbVLXVmX+AY7mm9qfJhnQokORG/tTpk1bwKvMnYZwsn2gK9J+IA8bjz+JNclLw+BnNEC Z66kxWjNkKo3zKDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1571683558; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YEPM5QMqvpXywPsKlqBtGtR5yKAWreOCiSXwMANhIFo=; b=b53Wt1cmSHNo+RCMC7nuWxYdsRavpmI4KEUgjT6SET5mQIbxxBDTxGSDJfvvQcwIoNMMei 5pL0FCzvwIHddjhq99S3vrYtwZ/if+XMOq65yUukAs5sfNr2Yck2cOXc78P0jHRPop6v/H oav/uBzRAbJZU46VB+JysjC8v09CCqO5lghGVbSZiTB/7+wa4B1t/NfsYoH8XSXhTrh602 3NjgT9nLn/QJsnNGh34cDBmH2KQuogqXnerFXbjKz8oZUPejD303yW7XDj+gdMrr+A0cGB sJwdFciG4DXcb5WOgABjUXUqgztskmjxfFIID4Eh4jLqQoId/0LafN051vEkRw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH v2 04/15] QoS: Start qosd immediately Date: Mon, 21 Oct 2019 20:45:28 +0200 Message-Id: <20191021184539.12758-4-michael.tremer@ipfire.org> In-Reply-To: <20191021184539.12758-1-michael.tremer@ipfire.org> References: <20191021184539.12758-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=ms smtp.mailfrom=michael.tremer@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer Signed-off-by: Daniel Weismüller --- config/qos/makeqosscripts.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/qos/makeqosscripts.pl b/config/qos/makeqosscripts.pl index fbc2da95a..dbb07ac55 100644 --- a/config/qos/makeqosscripts.pl +++ b/config/qos/makeqosscripts.pl @@ -675,8 +675,8 @@ END print </dev/null 2>&1) & - ( sleep 10 && /usr/local/bin/qosd $qossettings{'IMQ_DEV'} >/dev/null 2>&1) & + /usr/local/bin/qosd $qossettings{'RED_DEV'} >/dev/null 2>&1 + /usr/local/bin/qosd $qossettings{'IMQ_DEV'} >/dev/null 2>&1 for i in \$(ls \$RRDLOG/class_*.rrd); do rrdtool update \$i \$(date +%s): 2>/dev/null @@ -688,7 +688,7 @@ print </dev/null 2>&1 - (sleep 3 && killall -9 qosd &>/dev/null) & + # DELETE QDISCS tc qdisc del dev $qossettings{'RED_DEV'} root >/dev/null 2>&1 tc qdisc del dev $qossettings{'RED_DEV'} ingress >/dev/null 2>&1