From mboxrd@z Thu Jan 1 00:00:00 1970 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8925781087134428901==" List-Id: --===============8925781087134428901== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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) -- 2.18.0 --===============8925781087134428901==--