repo.or.cz
/
kqemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial import of kqemu-1.4.0pre1
[kqemu.git]
/
install.sh
blob
8e0bc92f8463ae5b69ba567abb503933bcd41a9b
1
#!/bin/sh
2
# Installer for the kqemu module
3
set
+
e
4
5
# Find module name
6
if
[
-f
kqemu.ko
] ;
then
7
module
=
kqemu.ko
8
else
9
module
=
kqemu.o
10
fi
11
12
# Find kernel install path
13
kernel_path
=
"/lib/modules/`uname -r`"
14
15
mkdir
-p
"
$kernel_path
/misc"
16
cp
"
$module
"
"
$kernel_path
/misc"
17
18
/
sbin
/
depmod
-a