From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: Re: [PATCH] vnstat 2.6: Fix for lfs Date: Sat, 11 Apr 2020 18:39:23 +0200 Message-ID: In-Reply-To: <6DC696D3-1EF1-486C-A223-983C302C28AD@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6082056285400360845==" List-Id: --===============6082056285400360845== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi. On 11.04.2020 17:28, Michael Tremer wrote: > Hello, >=20 > Thanks for the patch, but this only solves one of my concerns. You mean the exit status for the 'stop'-section? > What about printing the colourful exit status more than once? Done... ;-) > Best, > -Michael >=20 >> On 11 Apr 2020, at 15:38, Matthias Fischer = wrote: >>=20 >> Removed 'sleep 2' >>=20 >> Signed-off-by: Matthias Fischer >> --- >> src/initscripts/system/vnstat | 2 -- >> 1 file changed, 2 deletions(-) >>=20 >> diff --git a/src/initscripts/system/vnstat b/src/initscripts/system/vnstat >> index bcc19c3ab..a21905d75 100755 >> --- a/src/initscripts/system/vnstat >> +++ b/src/initscripts/system/vnstat >> @@ -20,14 +20,12 @@ case "$1" in >>=20 >> boot_mesg "Starting vnstatd..." >> loadproc /usr/sbin/vnstatd -d --alwaysadd >> - sleep 2 >> evaluate_retval >> ;; >>=20 >> stop) >> boot_mesg "Stopping vnstatd..." >> killproc /usr/sbin/vnstatd >> - sleep 2 >> evaluate_retval >>=20 >> umount_ramdisk "${VNSTATLOG}" >> --=20 >> 2.18.0 >>=20 >=20 --===============6082056285400360845==--