summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDor Laor <dor@qumranet.com>2006-11-05 11:07:37 +0000
committerDor Laor <dor@qumranet.com>2006-11-05 11:07:37 +0000
commit62e7fcda4ca67ecd489faa76daa0fc602e644f70 (patch)
treefeb40628472876ede309302e74d3efa22aa6ba10 /scripts
parent0dc0f647277e4dc7303f1eb41e1dc688f073cc5e (diff)
Fix stupid module load error
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/kvm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kvm b/scripts/kvm
index 2b1ad146..cd5d9ff4 100755
--- a/scripts/kvm
+++ b/scripts/kvm
@@ -155,7 +155,7 @@ start () {
antispoofing
fi
- /sbin/insmod kvm
+ /sbin/modprobe kvm
}
stop () {
@@ -170,7 +170,7 @@ stop () {
ip link set ${switch} down
brctl delbr ${switch}
- /sbin/rmmod kvm
+ /sbin/modprobe -r kvm
}