From patchwork Sat Apr 11 16:37:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 2936 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4900t64yhGz3wbr for ; Sat, 11 Apr 2020 16:37:50 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4900t51QMRz23v; Sat, 11 Apr 2020 16:37:49 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4900t46SCWz2yVk; Sat, 11 Apr 2020 16:37:48 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4900t23nDZz2yNV for ; Sat, 11 Apr 2020 16:37:46 +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 4900t170Z0z23v for ; Sat, 11 Apr 2020 16:37:45 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1586623066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=EDZ6FjKD624KM+aW1IeXyOn0ESVPB3Gi3QTaILzS2xY=; b=dLWoi7W1gPTXFsS7VC8q3bzBheq897HzUqJWGZkToRF7Ly56kbiVwz+yzUvOZnwuruLlUr 4T5c89RSaQkx8VAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1586623066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=EDZ6FjKD624KM+aW1IeXyOn0ESVPB3Gi3QTaILzS2xY=; b=ab/F4G5Q7yAWObiw90lYUlyU2MmPpz57fsyWTl27hT9garBTBu66PyeAy8dZW7nocA6Rvy 9LQIXPMl+I2FYanW6faHf0MeINi+5bhSCUReBRTDjD/pG6HePJCJanf9a3vaSZKKOmpIlX C1ZW45t1y+Z/81j+LZIhEtQ7lzxlxt8j+3sSUbIvxS3Als/AQUbRFCOvzOhqtrVchNbLMb 706tSC8rK3gHLjWspB2MuxOr6HbT2aT3sKWoaNJYWf2C/zH45VljFmgY5jmza8HI5JC8jQ 5UAtzAZoFPLkFj0VJod7TQTztX/cVo/fjZCxk9yOipi/NABXc7P+1dntGE3ypg== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH v2] vnstat 2.6: Fix for lfs Date: Sat, 11 Apr 2020 18:37:38 +0200 Message-Id: <20200411163738.25170-1-matthias.fischer@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=matthias.fischer@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: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Removed 'sleep 2' Added exit status in 'stop'-section Signed-off-by: Matthias Fischer --- src/initscripts/system/vnstat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/system/vnstat b/src/initscripts/system/vnstat index bcc19c3ab..999307d99 100755 --- a/src/initscripts/system/vnstat +++ b/src/initscripts/system/vnstat @@ -20,17 +20,17 @@ case "$1" in boot_mesg "Starting vnstatd..." loadproc /usr/sbin/vnstatd -d --alwaysadd - sleep 2 evaluate_retval ;; stop) boot_mesg "Stopping vnstatd..." killproc /usr/sbin/vnstatd - sleep 2 evaluate_retval umount_ramdisk "${VNSTATLOG}" + boot_mesg "Unmounting vnstat ramdisk..." + evaluate_retval ;; restart)