#!/bin/sh

WHAT="Watchdog fired"

# If we're rebooting after a panic, grab the kernel logs and put 'em
# where rdxd can upload them.
if grep -q 'lastboot=watchdog' /proc/cmdline; then
    klog last | rdx_reporter -F -C "$WHAT" -c "$WHAT" -d "$WHAT"
fi
