repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
some modification on instpkg
[cmdllinux.git]
/
scripts
/
local.d
/
kvmsupp.start
blob
047d6b6405fee756ad2c24db4770fd7413b715d2
1
#! /bin/sh
2
3
grep
"^flags[[:space:]]\+: "
/
proc
/
cpuinfo |
grep
-qw
svm
&&
modprobe
-q
kvm-amd
4
grep
"^flags[[:space:]]\+: "
/
proc
/
cpuinfo |
grep
-qw
vmx
&&
modprobe
-q
kvm-intel
5
exit
0