Skip to content

Commit

Permalink
add bridge and tap modules at kmod time
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-pr1ntf committed Apr 29, 2016
1 parent cba799b commit cd49d0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ioh-setup
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,14 @@ __setup() {
echo "Loading kernel modules..."
kldload vmm
kldload nmdm
kldload if_bridge
kldload if_tap
elif [ $val = "0" ]; then
echo "Unloading kernel modules..."
kldunload vmm
kldunload nmdm
kldunload if_bridge
kldunload if_tap
else
echo "Improper syntax"
echo "kmod=1 to load modules"
Expand Down

0 comments on commit cd49d0a

Please sign in to comment.