#!/bin/sh

DDCDUMP_FILE="/var/cache/alterator/ddcdump"

if [ -f "$DDCDUMP_FILE" ]; then
    cat "$DDCDUMP_FILE"
else
    /usr/sbin/ddcprobe|tee "$DDCDUMP_FILE"
fi
