DF-0759 / build.sh
#!/bin/sh # DF-0759 build.sh — compile the data injector against libnetgraph. # The netgraph7 kernel modules (netgraph7 core, ng_socket7, ng_split) are # built separately by run.sh on the guest (they need the kernel build env); # this script only builds the userland injector. set -e cd "$(dirname "$0")" cc -O2 -Wall -o inject inject.c -lnetgraph echo "BUILD_OK: inject" ls -l inject |