Signed-off-by: Matthias Fischer --- src/initscripts/system/vnstat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/initscripts/system/vnstat b/src/initscripts/system/vnstat index 999307d99..c1bb2942a 100755 --- a/src/initscripts/system/vnstat +++ b/src/initscripts/system/vnstat @@ -39,6 +39,10 @@ case "$1" in ${0} start ;; + status) + statusproc /usr/sbin/vnstatd + ;; + backup) # Backup all data if ramdisk is used if mountpoint "${RRDLOG}" &>/dev/null; then @@ -47,7 +51,7 @@ case "$1" in ;; *) - echo "Usage: $0 {start|stop|restart|backup}" + echo "Usage: $0 {start|stop|restart|status|backup}" exit 1 ;; esac -- 2.18.0