mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 04:22:58 +02:00
vnstat 2.6: Fix for initskript
Removed 'sleep 2' Added exit status in 'stop'-section Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
8c7446ab08
commit
49d09728cc
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user