aboutsummaryrefslogtreecommitdiff
path: root/commands/freebsd/netgraph/_netgraph.sh
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-03-25 15:44:44 +0000
committerJordan Bracco <href@random.sh>2022-03-25 15:44:44 +0000
commitbabd144393c0cbfdc28fb475190d9a552070b240 (patch)
tree927edd0818be95134ece7b819311b0269b3c5fdc /commands/freebsd/netgraph/_netgraph.sh
parentInitial PoC (diff)
slowly but surely (maybe)HEADmain
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
+}