mount_ramdisk "${VNSTATLOG}"
evaluate_retval
fi
+
+ 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}"
;;
+
restart)
${0} stop
sleep 1
${0} start
;;
+
backup)
# Backup all data if ramdisk is used
if mountpoint "${RRDLOG}" &>/dev/null; then