Skip to content

Commit

Permalink
README.md | tools/start-vwifi-client.sh : replace "rmmod" by "modprob…
Browse files Browse the repository at this point in the history
…e -r"
  • Loading branch information
Raizo62 committed Sep 10, 2022
1 parent 2a0bb05 commit a53d66f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ sudo make install
* Shell :
* Load the module VHOST :
```bash
# sudo rmmod vhost_vsock vmw_vsock_virtio_transport_common vsock # if necessary
# sudo modprobe -r vhost_vsock vmw_vsock_virtio_transport_common vsock # if necessary

sudo modprobe vhost_vsock
sudo chmod a+rw /dev/vhost-vsock
Expand Down
2 changes: 1 addition & 1 deletion tools/start-vwifi-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ then
OldNbrWifi=$(cat /sys/module/mac80211_hwsim/parameters/radios)
if (( NbrWifi != OldNbrWifi ))
then
rmmod mac80211_hwsim
modprobe -r mac80211_hwsim
fi
fi

Expand Down

0 comments on commit a53d66f

Please sign in to comment.