[v2] vnstat 2.6: Fix for lfs
Commit Message
Removed 'sleep 2'
Added exit status in 'stop'-section
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
src/initscripts/system/vnstat | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -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)