* [PATCH v2] vnstat 2.6: Fix for lfs
@ 2020-04-11 16:37 Matthias Fischer
0 siblings, 0 replies; only message in thread
From: Matthias Fischer @ 2020-04-11 16:37 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
Removed 'sleep 2'
Added exit status in 'stop'-section
Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-11 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 16:37 [PATCH v2] vnstat 2.6: Fix for lfs Matthias Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox