aboutsummaryrefslogtreecommitdiff
path: root/commands/freebsd/netgraph/_netgraph.sh
diff options
context:
space:
mode:
Diffstat (limited to 'commands/freebsd/netgraph/_netgraph.sh')
-rw-r--r--commands/freebsd/netgraph/_netgraph.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/commands/freebsd/netgraph/_netgraph.sh b/commands/freebsd/netgraph/_netgraph.sh
new file mode 100644
index 0000000..d30ff76
--- /dev/null
+++ b/commands/freebsd/netgraph/_netgraph.sh
@@ -0,0 +1,7 @@
+include_cmd_dir "../_freebsd.sh"
+
+netgraph_prerun() {
+ freebsd_ensure
+ freebsd_ensure_kernel_module_loaded netgraph
+ ensure_command_exists ngctl
+}