DragonFlyBSD Kernel Audit
DF-0271 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
9
#!/bin/sh
# Run as root. Sets up bridge0 + tap0, runs the race loop.
cd "$(dirname "$0")"
# ensure modules
kldload if_bridge 2>/dev/null || true
ifconfig tap0 create 2>/dev/null || true
ifconfig bridge0 create 2>/dev/null || true
sh ./race_loop.sh 2>&1
echo "RUN_EXIT=$?"