DragonFlyBSD Kernel Audit
DF-0817 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0817 run script.
# Assumes the root-side image setup (setup_image.sh) has been run and the
# corrupted hammer2 image is mounted at /mnt/h2t .
PATH=/bin:/usr/bin:/sbin:/usr/sbin
TARGET="${1:-/mnt/h2t}"
echo "+ ./df0817 $TARGET"
./df0817 "$TARGET"
rc=$?
echo "df0817 exit code: $rc"
exit $rc