${0} start
;;
+ status)
+ statusproc /usr/sbin/vnstatd
+ ;;
+
backup)
# Backup all data if ramdisk is used
if mountpoint "${RRDLOG}" &>/dev/null; then
;;
*)
- echo "Usage: $0 {start|stop|restart|backup}"
+ echo "Usage: $0 {start|stop|restart|status|backup}"
exit 1
;;
esac