#!/bin/sh

#
# Configuration reset script for spxutils
#

reset() {
    find /var/spool/spxutils -mindepth 1 -depth -type f -print0 | xargs -0r rm -f --
}

#
# Main
#

case "$1" in
    reset)
        reset
    ;;
    *)
        echo "Usage $0 {reset}" >&2
	exit 1
    ;;
esac
