diff options
author | Dor Laor <dor@qumranet.com> | 2006-11-05 10:45:59 +0000 |
---|---|---|
committer | Dor Laor <dor@qumranet.com> | 2006-11-05 10:45:59 +0000 |
commit | 0dc0f647277e4dc7303f1eb41e1dc688f073cc5e (patch) | |
tree | 2dfb57dd9ab203abc2f8d25305a2abf7936300a9 /scripts | |
parent | ece15eedf010415fca37d3473a54e6e1920b0135 (diff) |
Insert/remove kvm kernel module on start/stop
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kvm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kvm b/scripts/kvm index 79badbd8..2b1ad146 100755 --- a/scripts/kvm +++ b/scripts/kvm @@ -154,6 +154,8 @@ start () { if [ ${antispoof} = 'yes' ] ; then antispoofing fi + + /sbin/insmod kvm } stop () { @@ -167,6 +169,8 @@ stop () { change_ips ${switch} ${pif} ip link set ${switch} down brctl delbr ${switch} + + /sbin/rmmod kvm } |